| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include "utils/StringUtils.h"#include <algorithm>#include <limits>#include <string>#include <string_view>#include <gtest/gtest.h>Namespaces | |
| namespace | test_enum | 
Enumerations | |
| enum class | ECG { A , B } | 
| enum | EG { C , D } | 
| enum class | test_enum::ECN { test_enum::A = 1 , test_enum::B } | 
| enum | test_enum::EN { test_enum::C = 1 , test_enum::D } | 
Functions | |
| TEST (TestStringUtils, Format) | |
| TEST (TestStringUtils, FormatEnum) | |
| TEST (TestStringUtils, FormatEnumWidth) | |
| TEST (TestStringUtils, ToUpper) | |
| TEST (TestStringUtils, ToLower) | |
| TEST (TestStringUtils, ToCapitalize) | |
| TEST (TestStringUtils, EqualsNoCase) | |
| TEST (TestStringUtils, ReturnDigits) | |
| TEST (TestStringUtils, Left) | |
| TEST (TestStringUtils, Mid) | |
| TEST (TestStringUtils, Right) | |
| TEST (TestStringUtils, Trim) | |
| TEST (TestStringUtils, TrimLeft) | |
| TEST (TestStringUtils, TrimRight) | |
| TEST (TestStringUtils, RemoveDuplicatedSpacesAndTabs) | |
| TEST (TestStringUtils, ReplaceSpecialCharactersWithSpace) | |
| TEST (TestStringUtils, Replace) | |
| TEST (TestStringUtils, StartsWith) | |
| TEST (TestStringUtils, EndsWith) | |
| TEST (TestStringUtils, Join) | |
| TEST (TestStringUtils, Split) | |
| TEST (TestStringUtils, SplitMulti) | |
| TEST (TestStringUtils, FindNumber) | |
| TEST (TestStringUtils, AlphaNumericCompare) | |
| TEST (TestStringUtils, TimeStringToSeconds) | |
| TEST (TestStringUtils, RemoveCRLF) | |
| TEST (TestStringUtils, utf8_strlen) | |
| TEST (TestStringUtils, SecondsToTimeString) | |
| TEST (TestStringUtils, MillisecondsToTimeString) | |
| TEST (TestStringUtils, IsNaturalNumber) | |
| TEST (TestStringUtils, IsInteger) | |
| TEST (TestStringUtils, SizeToString) | |
| TEST (TestStringUtils, EmptyString) | |
| TEST (TestStringUtils, FindWords) | |
| TEST (TestStringUtils, FindWords_NonAscii) | |
| TEST (TestStringUtils, FindEndBracket) | |
| TEST (TestStringUtils, DateStringToYYYYMMDD) | |
| TEST (TestStringUtils, WordToDigits) | |
| TEST (TestStringUtils, CreateUUID) | |
| TEST (TestStringUtils, ValidateUUID) | |
| TEST (TestStringUtils, CompareFuzzy) | |
| TEST (TestStringUtils, FindBestMatch) | |
| TEST (TestStringUtils, ContainsKeyword) | |
| TEST (TestStringUtils, BinaryStringToString) | |
| TEST (TestStringUtils, ToHexadecimal) | |
| TEST (TestStringUtils, Paramify) | |
| TEST (TestStringUtils, DeParamify) | |
| TEST (TestStringUtils, Tokenize) | |
| TEST (TestStringUtils, ToUint32) | |
| TEST (TestStringUtils, ToUint64) | |
| TEST (TestStringUtils, ToFloat) | |
| TEST (TestStringUtils, FormatFileSize) | |
| TEST (TestStringUtils, Contains) | |
| TEST (TestStringUtils, sortstringbyname) | |
      
  | 
  strong | 
| enum EG | 
| TEST | ( | TestStringUtils | , | 
| AlphaNumericCompare | ) | 
| TEST | ( | TestStringUtils | , | 
| BinaryStringToString | ) | 
| TEST | ( | TestStringUtils | , | 
| CompareFuzzy | ) | 
| TEST | ( | TestStringUtils | , | 
| Contains | ) | 
| TEST | ( | TestStringUtils | , | 
| ContainsKeyword | ) | 
| TEST | ( | TestStringUtils | , | 
| CreateUUID | ) | 
| TEST | ( | TestStringUtils | , | 
| DateStringToYYYYMMDD | ) | 
| TEST | ( | TestStringUtils | , | 
| DeParamify | ) | 
| TEST | ( | TestStringUtils | , | 
| EmptyString | ) | 
| TEST | ( | TestStringUtils | , | 
| EndsWith | ) | 
| TEST | ( | TestStringUtils | , | 
| EqualsNoCase | ) | 
| TEST | ( | TestStringUtils | , | 
| FindBestMatch | ) | 
| TEST | ( | TestStringUtils | , | 
| FindEndBracket | ) | 
| TEST | ( | TestStringUtils | , | 
| FindNumber | ) | 
| TEST | ( | TestStringUtils | , | 
| FindWords | ) | 
| TEST | ( | TestStringUtils | , | 
| FindWords_NonAscii | ) | 
| TEST | ( | TestStringUtils | , | 
| Format | ) | 
| TEST | ( | TestStringUtils | , | 
| FormatEnum | ) | 
| TEST | ( | TestStringUtils | , | 
| FormatEnumWidth | ) | 
| TEST | ( | TestStringUtils | , | 
| FormatFileSize | ) | 
| TEST | ( | TestStringUtils | , | 
| IsInteger | ) | 
| TEST | ( | TestStringUtils | , | 
| IsNaturalNumber | ) | 
| TEST | ( | TestStringUtils | , | 
| Join | ) | 
| TEST | ( | TestStringUtils | , | 
| Left | ) | 
| TEST | ( | TestStringUtils | , | 
| Mid | ) | 
| TEST | ( | TestStringUtils | , | 
| MillisecondsToTimeString | ) | 
| TEST | ( | TestStringUtils | , | 
| Paramify | ) | 
| TEST | ( | TestStringUtils | , | 
| RemoveCRLF | ) | 
| TEST | ( | TestStringUtils | , | 
| RemoveDuplicatedSpacesAndTabs | ) | 
| TEST | ( | TestStringUtils | , | 
| Replace | ) | 
| TEST | ( | TestStringUtils | , | 
| ReplaceSpecialCharactersWithSpace | ) | 
| TEST | ( | TestStringUtils | , | 
| ReturnDigits | ) | 
| TEST | ( | TestStringUtils | , | 
| Right | ) | 
| TEST | ( | TestStringUtils | , | 
| SecondsToTimeString | ) | 
| TEST | ( | TestStringUtils | , | 
| SizeToString | ) | 
| TEST | ( | TestStringUtils | , | 
| sortstringbyname | ) | 
| TEST | ( | TestStringUtils | , | 
| Split | ) | 
| TEST | ( | TestStringUtils | , | 
| SplitMulti | ) | 
| TEST | ( | TestStringUtils | , | 
| StartsWith | ) | 
| TEST | ( | TestStringUtils | , | 
| TimeStringToSeconds | ) | 
| TEST | ( | TestStringUtils | , | 
| ToCapitalize | ) | 
| TEST | ( | TestStringUtils | , | 
| ToFloat | ) | 
| TEST | ( | TestStringUtils | , | 
| ToHexadecimal | ) | 
| TEST | ( | TestStringUtils | , | 
| Tokenize | ) | 
| TEST | ( | TestStringUtils | , | 
| ToLower | ) | 
| TEST | ( | TestStringUtils | , | 
| ToUint32 | ) | 
| TEST | ( | TestStringUtils | , | 
| ToUint64 | ) | 
| TEST | ( | TestStringUtils | , | 
| ToUpper | ) | 
| TEST | ( | TestStringUtils | , | 
| Trim | ) | 
| TEST | ( | TestStringUtils | , | 
| TrimLeft | ) | 
| TEST | ( | TestStringUtils | , | 
| TrimRight | ) | 
| TEST | ( | TestStringUtils | , | 
| utf8_strlen | ) | 
| TEST | ( | TestStringUtils | , | 
| ValidateUUID | ) | 
| TEST | ( | TestStringUtils | , | 
| WordToDigits | ) |