Thread
:
trouble reading string into array
View Single Post
Dec 10th, 2005, 6:17 PM
#
7
Ooble
I eat cake for breakfast.
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power:
9
Instead of string_copy, why not just do this?
(
Toggle Plain Text
)
std::string myNewString = myOldString.substr(offset, length);
std::string myNewString = myOldString.substr(offset, length);
They think of these things, y'know.
__________________
Me
::
You
::
Them
Ooble
View Public Profile
Visit Ooble's homepage!
Find More Posts by Ooble