Let’s say if I am using a screen scraping tool to extract a string from an app. I then stored the string to a variable called Code.
The first string looks like this:
Test 1 / 1 19286849 / 08.01.2020 525902 3100292135 VD01
The second string looks like this:
Code 6300181427 Region VD01 / PBSM22
Is there a way to manipulate the string so that I will only get 3100292135 (from that first string) and 6300181427 (from that second string)? They are always 10 digits.
I need one universal method to handle both cases.
Thanks so much!