string find question

Nov 30, 2014 at 8:25pm
can someone explain to me how theString.assign(str, n); works?
Nov 30, 2014 at 9:57pm
There's an example here if this is what you are looking for.
http://www.cplusplus.com/reference/string/string/assign/

The first n characters of str are copied.
Topic archived. No new replies allowed.