View Single Post
Old Dec 10th, 2005, 6:17 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Instead of string_copy, why not just do this?
std::string myNewString = myOldString.substr(offset, length);
They think of these things, y'know.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote