How to extract one part of the string

you can get stringB using regular expression
System.Text.RegularExpressions.Regex.Match(stringA, "Documents\\(.*?)$").groups(1).Value

use this sequence for reference
Sequence.xaml (7.4 KB)

result

1 Like