How to get a substring?

Gautam Goel gautamcgoel at gmail.com
Sat Oct 26 14:23:12 PDT 2013


Dumb Newbie Question: I've searched through the library 
reference, but I haven't figured out how to extract a substring 
from a string. I'd like something like string.substring("Hello", 
0, 2) to return "Hel", for example. What method am I looking for? 
Thanks!


More information about the Digitalmars-d-learn mailing list