Content


NTL
Core
SearchWordEndForward

SearchWordEndForward


Search the ending of next word in a string.

/**
Return index of next word ending after the specified position 
@param str String where to search 
@param start Index from where to search 
@param locale Used locale 
@return Word end position if found 
@return String length if no word end found till the string end 
@return String::npos in case of invalid parameters 
*/
size_t SearchWordEndForward(const String &str, const size_t start, const std::locale &locale = std::locale());
Namespace: nitisa
Include: Nitisa/Core/Strings.h