Function FindLast#

Function Documentation#

size_t FindLast(const std::string &rss, const std::string &rssSeparator = ".")#

Find the last separator character. Do not include string content (single/or double quoted) and escape characters.

Parameters:
  • rss[in] Reference to the string.

  • rssSeparator[in] One of the characters to find in the string. Must not be an empty string!

Returns:

The position of the last separator character or std::string::npos when none has found.