[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading fixed width data?

From: CdeMills
Subject: Re: Reading fixed width data?
Date: Tue, 14 Sep 2010 03:11:40 -0700 (PDT)

forkandwait wrote:
> CdeMills <Pascal.Dupuis <at>> writes:
>> What do you call exactly 'fixed-width' ? Binary ? Delimited by some
>> specific
>> char ?
> A given element will be stored in a certain range of character spaces on a
> line,
> all of the same width ("fixed") for every line.  In contrast to
> "delimited". 
> I think I need to use sscanf somehow.
In this case, you can play with substr to extract one field and sscanf to
read it.


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]