Command: sreadf

Syntax: 
  s = sreadf(x , st)
  
Description: 
  This is exactly the same as readf(), except that the input x
  is a sequence of charaters, rather than being
  reading from a file or device. st is a format string, x is the
  text to be formatted. s = readf(fn, st) 
  is equivalent to s = sreadf(gets(fn),st).
  
Comments: 
  Some typical uses of sreadf are:
  
  1. Converting strings to numbers .
  
Example: 
     s = sreadf("    12345","%08d")
        -- s is {1234}
        
     s = sreadf("    12345juist","%08d%s")
        -- s is {1234,"5juist"}
        
See Also: 
  readf, value, get
  

