| 1665 | } |
| 1666 | |
| 1667 | void String::numberCleanInPlace( std::string& strNumber ) { |
| 1668 | if ( strNumber.empty() ) |
| 1669 | return; |
| 1670 | while ( strNumber.back() == '0' ) |
| 1671 | strNumber.pop_back(); |
| 1672 | if ( strNumber.back() == '.' ) |
| 1673 | strNumber.pop_back(); |
| 1674 | } |
| 1675 | |
| 1676 | void String::insertChar( String& str, const unsigned int& pos, const StringBaseType& tchar ) { |
| 1677 | str.insert( str.begin() + pos, tchar ); |