How to get string before dot(.)

i want to get text before the dot(.) in the below string

tedsad.sfs

can any one help me on this

@Tamilarasanaccet using Sub-string you can achieve this get the entire length of the string(“tedsad.sfs”) then get the index of char(‘.’) from you string then Substring(index of char, length of string)

1 Like

Hi @Tamilarasanaccet

Use indexOf to get the index and use the substring to get the value.

Hope this might be helpful to you.

https://rpageek.com/uipath-string-manipulation/

cheers :smiley:

Happy learning

@Tamilarasanaccet

varStr = “tedsad.sfs”

Try this: varStr.Split("."c)(0)

6 Likes

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