| 445 | |
| 446 | |
| 447 | void cString::Reverse() |
| 448 | { |
| 449 | cString new_st(GetSize()); |
| 450 | for( int i=0; i<GetSize(); ++i ){ |
| 451 | // new_st[i] = (*this)[GetSize()-i-1]; // @CAO Problem in new gcc |
| 452 | new_st[i] = value->GetData()[GetSize()-i-1]; |
| 453 | } |
| 454 | (*this) = new_st; |
| 455 | } |
| 456 | |
| 457 | |
| 458 | void cString::CompressWhitespace() |