How to use string.split method


I’ve been scraping some data off a stores web page but I have one problem. The site that I’m scraping information from has no comma between their prices and i would need to get the comma between the euros and the cents.

As a example one price is showed as 2 79 rs to be displayed as 2,79€ rs, I know i need to use string manipulation to accomplish this but I have not figured out how to do it.

just use string.split() . then you can write line the result .

1 Like

@Paranoid can you please share/paste the split function you have used?

Hi @Paranoid,

Have a look at example of split of string based on new Line as delimiter.

All you need to do is “YourString.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries)” which will return a string array, and try again.

Let me know whether it works for you or not.

SplitExampleForNewLine.xaml (10.1 KB)

Thanks for all the answer, I actually got it solved with the help from the uipath support!

1 Like

@Paranoid Can you share the solution? Thanks!:grinning: