I have to extract a 9 letter code from a string - the delimiter is quoate marks " - how do I use quote (") as a delimeter? I have the added complication that the code will be the 2nd instance that " appears
Sample text im extracting from below:
Your entry, named “test_entry”, has successfully been created with the reference “XXXXXXXXX”.
You can now access the return in the draft area.
@calOn8
You can do string.Split(“”""c)(3) on the line to get the reference number. The Split function uses 4 " characters. The first and last are the start and end of the string and the two in the middle are used to escape the character and tell UiPath to literally use ".
Your array is then
0 - Your entry, named
1 - test_entry
2 - , has successfully been created with the reference
3 - XXXXXXXXX
4 - .
Thanks for that - however im worried that your solution may match to other 9 character words within the text.
For example, if “test_entry” was “Testentry”, then it would match to this first rather than the XXXXXXXXX code