Hello,
I have a variable called ist that looks like this:
[Rabhi, Sameh; Rabhi, Imen; Guizani-Tabbane, Lamia] Univ Tunis El Manar, Inst Pasteur Tunis, Lab Parasitol Med Biotechnol & Biomol, 13,Pl Pasteur BP 74, Tunis 1002, Tunisia; [Rabhi, Sameh] Univ Carthage, Ave Republ BP 77, Carthage 1054, Tunisia; [Rabhi, Imen] Univ Manouba, Biotechnol & Biogeo Resources Valorizat Lab LR11E, Sidi Thabet 2020, Ariana, Tunisia; [Rabhi, Imen] Univ Manouba, Higher Inst Biotechnol, Sidi Thabet 2020, Ariana, Tunisia; [Trentin, Bernadette; Piquemal, David] Acobiom Cap Delta Biopole Euromed II, 1682 Rue Valsiere, F-34184 Montpellier 4, France; [Regnault, Beatrice] Inst Pasteur Paris, Genopole, DNA Chip Platform, 25-28 Rue Dr Roux, F-75015 Paris, France; [Goyard, Sophie; Lang, Thierry] Inst Pasteur, Dept Infect & Epidemiol, Lab Proc Infect Trypanosomatides, 26 Rue Dr Roux, F-75724 Paris 15, France; [Descoteaux, Albert] INRS Inst Armand Frappier, 531 Blvd Prairies, Laval, PQ H7V 1B7, Canada; [Descoteaux, Albert] Ctr Host Parasite Interact, 531 Blvd Prairies, Laval, PQ H7V 1B7, Canada; [Enninga, Jost] Inst Pasteur, Dynam Host Pathogen Interact Unit, 25 Rue Dr Roux, F-75724 Paris, France
and I want to get rid of all the text in brackets, but when I use the following, I end up with empty cells
replace ist= substr(ist, 1, strpos(ist, "(") - 1)
Thank you for your help!
I have a variable called ist that looks like this:
[Rabhi, Sameh; Rabhi, Imen; Guizani-Tabbane, Lamia] Univ Tunis El Manar, Inst Pasteur Tunis, Lab Parasitol Med Biotechnol & Biomol, 13,Pl Pasteur BP 74, Tunis 1002, Tunisia; [Rabhi, Sameh] Univ Carthage, Ave Republ BP 77, Carthage 1054, Tunisia; [Rabhi, Imen] Univ Manouba, Biotechnol & Biogeo Resources Valorizat Lab LR11E, Sidi Thabet 2020, Ariana, Tunisia; [Rabhi, Imen] Univ Manouba, Higher Inst Biotechnol, Sidi Thabet 2020, Ariana, Tunisia; [Trentin, Bernadette; Piquemal, David] Acobiom Cap Delta Biopole Euromed II, 1682 Rue Valsiere, F-34184 Montpellier 4, France; [Regnault, Beatrice] Inst Pasteur Paris, Genopole, DNA Chip Platform, 25-28 Rue Dr Roux, F-75015 Paris, France; [Goyard, Sophie; Lang, Thierry] Inst Pasteur, Dept Infect & Epidemiol, Lab Proc Infect Trypanosomatides, 26 Rue Dr Roux, F-75724 Paris 15, France; [Descoteaux, Albert] INRS Inst Armand Frappier, 531 Blvd Prairies, Laval, PQ H7V 1B7, Canada; [Descoteaux, Albert] Ctr Host Parasite Interact, 531 Blvd Prairies, Laval, PQ H7V 1B7, Canada; [Enninga, Jost] Inst Pasteur, Dynam Host Pathogen Interact Unit, 25 Rue Dr Roux, F-75724 Paris, France
and I want to get rid of all the text in brackets, but when I use the following, I end up with empty cells
replace ist= substr(ist, 1, strpos(ist, "(") - 1)
Thank you for your help!
Comment