sscanf replacement in D

Igor via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 15 18:54:16 PDT 2014


On Monday, 16 June 2014 at 01:08:33 UTC, safety0ff wrote:
> On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote:
>> Hi,
>> I came to D from the C++ world. What is sscanf replacement?
>> std.streams seems deprecated, std.stdio doesn't offer something
>> like readf for string. What should I use?
>
> std.format is one option: 
> http://dlang.org/phobos/std_format.html#.formattedRead

Thanks, it's exactly I was looking for.


More information about the Digitalmars-d mailing list