I am using select_one that returns a string containing a number (unknown number of digits) followed by a '-' followed by a text string. How do I use substr to parse out the number before the '-'. It can be any number between 1 and 999.
For example "10-Lincoln Center Parkway" I just want to use the number 10 in pulldata call to look up additional information.
Thanks