ON_wString ON_wString::Right(int count) const { ON_wString s; if ( count > Length() ) count = Length(); if ( count > 0 ) { s.CopyToArray( count, &m_s[Length()-count] ); } return s; }
ON_wString ON_wString::Left(int count) const { ON_wString s; if ( count > Length() ) count = Length(); if ( count > 0 ) { s.CopyToArray( count, m_s ); } return s; }