String Manipulation: returning elements after -

Hello everyone !

I have the following strings. How can i manipulate the string so as to return the results after - ( which is the name ) ?

New York ( NY ) 1 - Beatriz Clarke Eve
Stuttgart ( ST) 3 - Kristopher Traynor

Many thanks in advance !

1 Like

use split string activity and mention separator as ‘-’

1 Like

Hi @Padurariu_Dragos_Vio,

There is a thread where you can view how to split string here:

However, I created a XAML file based on what you would like to achieve:
stringSplit.xaml (5.0 KB)

4 Likes

Hi @Padurariu_Dragos_Vio,

StrVar=“New York ( NY ) 1 - Beatriz Clarke Eve”
StrArrrayVar=Split(StrVar,“-”)
StrResult =StrArrayvar(1).trim,
output i.e.(" Beatriz Clarke Eve")

Regards,
@Spark_robot

1 Like

Hi Padurariu_Dragos_Vio,
Refer this post,it may hlep you.

1 Like

String_Split.xaml (4.9 KB)

check this workflow
use string split method

3 Likes
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.