10-18-2016 06:24 AM
Hello,
I would like to have only the last 2 digit of my string.
Exemple : I have a result in string "28C" but I would like only take 8C (the result change every time so this is only a exemple).
Can you help me please ?
Thanks.
Solved! Go to Solution.
10-18-2016 06:31 AM - edited 10-18-2016 06:31 AM
10-18-2016 06:42 AM
10-18-2016 06:56 AM
Thank you very much.
10-18-2016 10:11 AM
@Zek67 wrote:I would like to have only the last 2 digit of my string.
Just to add to the fun...
String To Byte Array, Delete From Array with the length set to 2 (do not wire up the index), and then Byte Array To String with the "Deleted Subset".
10-18-2016 11:04 AM
10-18-2016 12:49 PM
@ben64 wrote:To add more: Match Regular Expression with the following regex .{2}$
Ben64
I always love it when one of the Gurus of Regex posts a regex solution to a string issue because I always learn from it. 🙂