Mark Oliver wrote:
[color=blue]
> Hi.
>
> What is the best replacement for sscanf?
>
> Thanks,
> Mark
>
>[/color]
A combination of different Parse() methods + Console.ReadLin e() should
be good to read the data. If the data is separated by a known char, you
can probably use String.Split() as well.
Or,
Use RegEx and write your own scanner.
String.Split() works, but I was hoping for a inverse of String.Format
that works in the same way as sscanf inverses sprintf.
Thanks,
Mark
"Girish Bharadwaj" <girishb@nowher e> wrote in message
news:3F953D1D.6 010004@nowhere. ..[color=blue]
> Mark Oliver wrote:
>[color=green]
> > Hi.
> >
> > What is the best replacement for sscanf?
> >
> > Thanks,
> > Mark
> >
> >[/color]
> A combination of different Parse() methods + Console.ReadLin e() should
> be good to read the data. If the data is separated by a known char, you
> can probably use String.Split() as well.
> Or,
> Use RegEx and write your own scanner.
>
> --
> Girish Bharadwaj
>[/color]
Comment