How to split this string with C#

I already tried these 2 things

1 - Split Function: As the image bellow show me result System.String

2 - Regex: i can not print the result

image

Hi @Rpa_compara

In the split function put the required index to get your desired value like below

Split(yourlogic)(0)
Or
Split(yourlogic)(1)

to get the part of string

@Rpa_compara

Try Str.tostring(0) or Str(0)

Hi,

Can you try the following?

str[0]

OR

String.Join(",",str)


result[0].Value

Regards,

Hello @Yoichi @Gokul_Jayakumar @Shikhar_Tandon

Thanks for you support

To let you know I will attach an example that worked here =)
Split_Csharp.zip (2.9 KB)

Best

@Rpa_compara
Kindly mark the solution that you used to solve your problem.
Because it was useful for someone who looking for the same issues.

Happy Automation

Regards,
Gokul Jai

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