[fpc-pascal] Un/De-Format function still exists?

JoshyFun joshyfun at gmail.com
Tue Nov 25 13:24:45 CET 2008

Hello Gabor,

Tuesday, November 25, 2008, 1:13:09 PM, you wrote:

GB> Result of Format('abc: %d def: %d',[1,2]) is 'abc: 1 def: 20'.
GB> It's ok , but I want to do this thing from the other direction.
GB> I want to know the integers only and the strings ('abc') not the same in
GB> every line in a text file.
GB> Is a function/procedure still exists in FPC or Lazarus for this problem.
GB> If anybody understood me. ;-)

Look for "SScanf" function, maybe it will fit your needs.

Best regards,

More information about the fpc-pascal mailing list