Content


NTL
Core
SearchWordStartForward

SearchWordStartForward


Search the beginning of next word in a string.

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