Hopefully I can get an easy, straightforward solution in how to do this. I need to extract a certain code from a string that can be anywhere in said string, but before a “§” character.
example strings:
“Lorem Ipsum §001”
“§001 Lorem Ipsum”
“Lorem §001 Ipsum”
Regardless of where the “§001” is in the string, I want to extract only the code 001 and then assign it to a string variable. I have tried most examples and solutions given through this forum, but can’t find any way to do this. It should be easy in my mind, take anything following the “§” character, and stop when there is a space or end of string.
Thank you for the swift reply! Yes, sorry for not being clear, but it is always a number, but it is dynamic in length. that being said, it could be “100032” or “0012”.