AnsweredAssumed Answered

Basic substr string parsing question

Question asked by lsmith132 on Dec 18, 2019
Latest reply on Dec 18, 2019 by j.moore-esristaff

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

Outcomes