How to get particular part of the string?

I’m getting one string eg: ‘Surname Name (userid)’ . I just want to get userid from this string eg: ‘userid’ Which String Function will be helpful to do this?   Thanks in Advance!
1 answers

Hi Shubham Thanekar,

              You can use substring() and find() functions to extract the text from the given string. For your reference, I am sharing that link below. It will be helpful for you.


Thanks and regards,

Vijjayabharathi V