commit | 40d9e34c926f59cae26c4bae4ab55377cf3cdd40 | [log] [tgz] |
---|---|---|
author | Nicolas Catania <niko@google.com> | Sun Feb 07 20:41:41 2010 -0800 |
committer | Nicolas Catania <niko@google.com> | Sun Feb 07 20:50:05 2010 -0800 |
tree | 773743728bc92272948646dd08b32d81249d6988 | |
parent | 63ba1ac81156cce2f045229f7ee7843b923006d0 [diff] |
Added string::substr support. Fixed a bug in the copy constructor. If pos is valid but the number of char greater than the on available, we need to cap it to the max number of chars available.