#How to Isolate the end of a string
3 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
You could either parse the string or loop it backwards, adding to an int the according value until you find a non-digit. If it's -, set the number to negative itself, ignoring the rest.