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

Home » Public Forums » archive » extract numbers from string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
extract numbers from string [message #44518] Tue, 21 June 2005 13:59 Go to previous message
Tobi is currently offline  Tobi
Messages: 2
Registered: June 2005
Junior Member
i have a data file with a header that has several lines, which i read
with

readf,1,firstline
readf,1,secondline
....

firstline is a string that looks like
xpixels = 1024

i am trying to convert this to a variable called nx which has the value
1024.

is there a clean and easy way to do this?

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inverse 3D FFT
Next Topic: Re: Inverse 3D FFT

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

Current Time: Sat Oct 11 10:24:32 PDT 2025

Total time taken to generate the page: 0.81807 seconds