Formats TM-input to strip colors/formatting.  
 More...
#include <Formatting.h>
|  | 
| static std::string | StripColors (std::string src, bool forTM=true) | 
|  | Strips all TrackMania colors from a string.  More... 
 | 
|  | 
| static std::string | StripLinks (std::string src, bool forTM=true) | 
|  | Strips all TrackMania links from a string.  More... 
 | 
|  | 
Formats TM-input to strip colors/formatting. 
  
  | 
        
          | static std::string Formatting::StripColors | ( | std::string | src, |  
          |  |  | bool | forTM = true |  
          |  | ) |  |  |  | inlinestatic | 
 
Strips all TrackMania colors from a string. 
- Parameters
- 
  
    | src | String to be de-colorfied. |  | forTM | Output for TM chat? (default: true) |  
 
 
 
  
  | 
        
          | static std::string Formatting::StripLinks | ( | std::string | src, |  
          |  |  | bool | forTM = true |  
          |  | ) |  |  |  | inlinestatic | 
 
Strips all TrackMania links from a string. 
- Parameters
- 
  
    | src | String to be de-linkified. |  | forTM | Output for TM chat? (default: true) |  
 
 
 
The documentation for this class was generated from the following file:
- /home/travis/build/TheMaximum/mania-pp/src/Utils/Formatting.h