Enhancement - strippedLength
- Added a text method that calculates a string length but does not include color control codes.
This commit is contained in:
@@ -57,6 +57,7 @@ bool isWordEnd (const std::string&, std::string::size_type);
|
||||
bool compare (const std::string&, const std::string&, bool sensitive = true);
|
||||
std::string::size_type find (const std::string&, const std::string&, bool sensitive = true);
|
||||
std::string::size_type find (const std::string&, const std::string&, std::string::size_type, bool sensitive = true);
|
||||
int strippedLength (const std::string&);
|
||||
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user