Tag : strings

Extracting all numbers from a string
5 years, 1 month ago 0
Posted in: Programming

A problem that I ran across was given an ill-formatted string that contained numbers, how do I extract them all out? When I mean ill-formatted, it means that the string doesn’t have a consistent structure from which I can pull out the numbers like a comma separated string. Ill-formatted strings are usually plain text and […]