Complex String manipulation

Hi Friends,

I want to work on complex string manipulations. Could you please provide some workflow to understand that better?

Thanks,
Ula

Could you please elaborate complex string manipulations? Could you please let us know what kind of manipulation you are looking for so that we can provide you samples.

like.

Substring, Replace, Search position etc

Regards
Pawan

Thank you @pawanbag. All possible kinds like substring, index of, replace. mainly concentrating on replace now.

Hi @Boopathi,

I will suggest to go with regex wherever possible.

Thanks
Paresh Borole

Hi @Paresh i have not used regex could you please let me know an example using regex with a sample workflow.

Thanks

Hi @Boopathi,

Here You have very short exmaple of patter in regex. You need to study subject as Regular Expresion. BTW its awsome tool.
companyNameURL.zip (2,1 KB)

This website should help you: https://www.regular-expressions.info/tutorial.html
Have a good time :slight_smile:

Regards,
@fudi5

Thank you @fudi5

1 Like

Hi,

If we have string like Please move File Visit 10/12/2018 File Progress 10/15/2018 to 4567891.

We need only Move, File Visit - 10/12/2018, File Progress - 10/15/2018 and 4567891.

Please suggest

Just replace Please with " " and to with “and”

string.replace(“please”," ").replace(“to”, “and”)