I don't have the code but I'd do something like this:

lcSave = ''
for ii = 1 to len(MyString)
  if between(substr(MyString,ii,1),'0','9') then
    lcSave = lcSave + substr(MyString,ii,1)
  endif
endfor

There's probably a RegExp that does it in a whiz-bang 1-liner, but I hated the complexity of those "super bassomatic 76, all-in-one-command" kind of things.

hth,
--Mike


On 2015-01-15 14:19, Jeff Johnson wrote:
We just went through this and I can't find it.  Fred provided the
answer and I used it in the procedure I was working on.  Now I need it
again and can't find it.

I want '93325' returned from a string 'xbb9yyy3325rrr'

Can someone help me with this?

I will save it in my library this time.  I promise!

TIA

--
Jeff

Jeff Johnson
[email protected]
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to