Get x number of characters after a special character ? Please Help

“Incoming / Niklas Nikolajsen / RRF679-55601,55617”
I want to retrieve always 6-characters code “RRF679” which appears after the second slash.

PLEASE HELP ME <3

Split(inputText,“/”)(2).TrimStart.ToString.Substring(0, 6)

@Hurmet_Noka

Also you can try as below

Hope this may help you

Thanks

1 Like

Thank You so much. It also works :slight_smile:

1 Like

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