07-06-2015 08:14 PM
Hello,
Using Scan from string for a while, I know that %s only matches string up to a whitespace. And I also thought %[^] would match everything including whitespaces. But it turned out that it would stop at the closing square brace.
So, what is the real scan pattern for match everything including whitespaces ?
Solved! Go to Solution.
07-07-2015 12:44 AM
Hi,
I just tried it out and %[^] worked for my string. What does the string look like that doesn't work?
07-07-2015 03:00 AM
Hello PeterFoerster,
With input [1,2,3] , Scan from string pattern %[^] would return [1,2,3 and the remaining string is ]
07-07-2015 06:57 AM
What do you want the Scan From String to end on? Or are you just grabbing the rest of the string? If that is your scenario, then just use the "remaining string" output. It might help if you give a full example of a normal input string and EVERYTHING you want as an output.
07-07-2015 07:17 AM - edited 07-07-2015 07:28 AM
%[^ ]
you just need a space after the caret
If you REALLY want a "Match everthing" %[\00-\FF] (Case sensitive) matches one or more ASCII charaters in the entire set of possible characters
07-07-2015 01:28 PM
Hi Jeff·Þ·Bohrer, crossrulz. All good inputs and are well solution. Thanks !
07-07-2015 02:00 PM
I don't see any thank yous. No kudos. No marked solutions. Jeff and I feel no love right now...