Use split activity with argument - Error

image

Hi @Soudios ,

Can you share the string on which you want to split ?

1 Like

when you split something the value stores in Array.
If you want single value then use index number to get the value.

Refer

1 Like

Hi @Soudios

Please use the below expression.
yourvariable.split(")"c)

Convert your assign variable type to string[ ]

Regards

2 Likes

@pravin_calvin
Same problem here, can’t find “type to string”

Hi @Soudios ,

That’s what i am trying to explain to use array of string to store value.

Please refer below

1 - CLick Array of T
image

2 - Select string

image

1 Like

@ermanoj3101

Here the argument :

Same Problem

This is different error i believe.
Use it as APE(0).ToString here as you cannot pass array here.

1 Like

@ermanoj3101

It takes only the fisrt word.

For example :
Activités comptables (6920Z) ==> need the take 69207

Hey but you want to split in beginning, then what is the use of split?
Better to get only digits from string 6920Z if that’s is your scope, no need to use split then.

1 Like

@ermanoj3101

Yes just want to take the digits but the number of digit is not the same, i wanted to split by “(”

Hi @Soudios ,

Use this test file.
test.xaml (4.9 KB)

1 Like

@ermanoj3101

Sorry i need also the letter inside (“Z”)
==>6920Z
You flowchart works only for digit

Please provide few examples and the output you are looking for…

1 Like

@prasath17

For example :
Activités comptables (6920Z) ==> need 6920Z

Hi @Soudios

Please refer the screen shot below.

where InputString is (6920Z)

image

Regards

1 Like

@pravin_calvin

This is the all sentence ==> Activités comptables (6920Z)
Just need 6920Z

How about this??

image

1 Like

Please be clear to to your requirement, as you have mentioned earlier you want output as 69207.

Please follow @prasath17 comment, you can get that value.

Thanks.

string.Join

1 Like

@ermanoj3101
@prasath17
“Activités comptables” its just an example it can be something else that’s why it’s better to use “(” to select what inside (6920Z)