Content


NTL
Core
SearchNextWord

SearchNextWord


Search next word in the string starting from specified position.

You can find more information in comments below.

/**
Return index of starting word characted next after start position 
@param str String where to search 
@param start Index from where start to search 
@param with_punch If true, punctuation characters are interpreted as words as well 
@param locale Used locale 
@return Word start position or str length 
*/
size_t SearchNextWord(const String &str, const size_t start, const bool with_punct = false, const std::locale &locale = std::locale());
Namespace: nitisa
Include: Nitisa/Core/Strings.h