Conversion (silly question, sorry)

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jan 1 16:51:24 PST 2008


"renoir" <renato at rexlen.it> wrote in message 
news:fleiig$28gg$1 at digitalmars.com...
> Sorry for the silly question:
> how can i convert from string to int? And viceversa from int to string?
> Thx.

If you're using D1, use std.string.toString to convert most basic types to 
strings and std.conv.toInt to convert from strings to ints. 




More information about the Digitalmars-d-learn mailing list