John Dammeyer wrote:
> Short of doing the usual substring etc. and breaking the string below
> into smaller ones and then using val() to grab the numbers is there
> something equivalent to sscanf() in Delphi?
>
> '00,INITIAL,NOP, 000000, 000000,04,INC,GTF,MTF,ATF.'
>
> Thanks
>
> John

John,

I sometimes use a TStringList for things like that, setting the CommaText 
property, and accessing the individual string elements.  Probably not very 
efficient, though.  What you are asking for sounds like FORMAT statements 
in Fortran.

David
-- 
SatSignal software - quality software written to your requirements
Web:  http://www.satsignal.eu
Email:  [EMAIL PROTECTED] 


_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to