Changeset 93559485b4c0…
Parent 26c42d2f947a…
by
Changes to 2 files · Browse files at 93559485b4c0 Showing diff from parent 26c42d2f947a Diff from another changeset...
@@ -45,28 +45,6 @@ }
-
-// Cuts the first token off a delimited list
-std::string CutFirstToken(std::string& sList, const std::string& sDelimiter)
-{
- std::string::size_type p = sList.find(sDelimiter);
- std::string sResult;
-
- if (p == std::string::npos)
- {
- sResult = sList;
- sList = "";
- return sResult;
- }
- else
- {
- sResult = sList.substr(0, p);
- sList = sList.substr(p + sDelimiter.length(), sList.length());
- return sResult;
- }
-}
-
-
// Convert Unicode string to multibyte string
std::string WideToMultibyte(const std::wstring& wide, UINT CodePage)
{
|
@@ -29,9 +29,6 @@ // Quotes a string
std::string Quote(const std::string& str);
-// Cuts the first token off a delimited list
-std::string CutFirstToken(std::string& sList, const std::string sDelimiter);
-
// Convert Unicode string to multibyte string
std::string WideToMultibyte(const std::wstring& wide, UINT CodePage = CP_ACP);
|
Loading...