Change some RString methods to free functions

These ones aren't a std::string method. Doing this helps the RString to
std::string migration.
This commit is contained in:
Arthur Eubanks
2025-04-29 22:01:23 -07:00
committed by teejusb
parent 9449317430
commit 995f0ea8c1
109 changed files with 587 additions and 618 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, R
size_t iBeginIndex = sFullTitle.find(sep);
if (iBeginIndex != std::string::npos)
{
sMainTitleOut = sFullTitle.Left(static_cast<int>(iBeginIndex));
sMainTitleOut = Left(sFullTitle, static_cast<int>(iBeginIndex));
sSubTitleOut = sFullTitle.substr(iBeginIndex + sep.size(), fullTitleSize - iBeginIndex - sep.size());
return;
}