www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - String <-> Int

reply __me <__me_member pathlink.com> writes:
how to convert strings to ints and vice versa?
Aug 11 2004
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
import std.string;

that module has a lot of toString() functions to convert to strings.  it
also has an atoi() function that you can use to convert from a string to an
integer.  :)
Aug 11 2004