This is like fscanf
, except that the characters are taken from the
string string instead of from a stream.
Reaching the end of the string is treated as an end-of-file condition. In
addition to the values returned by fscanf
, the index of the next
character to be read is returned in pos.
See also: fscanf, scanf, sprintf.
Package: octave