comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Extract numbers from text string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Extract numbers from text string [message #75303] Tue, 22 February 2011 11:08
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi folks,

Which is the best way to extract the numbers of the following string ?
HELP, /MEM, OUTPUT=str
PRINT, str

I'm trying something like:
str_out=STREGEX(str,'[0-9]*',/EXTRACT)

But nothing happens...
Any suggestions ? Thanks in advance,

nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: howto select and deselect plotting windows?
Next Topic: Re: Extract numbers from text string

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:58:07 PDT 2025

Total time taken to generate the page: 0.00519 seconds