Switching PT, Token Indicator
Added Switching PT like Layer 7e, Token Indicator for cloned Cards
This commit is contained in:
@@ -98,6 +98,17 @@ bool FileExists(const string & filename)
|
||||
return JFileSystem::GetInstance()->FileExists(filename);
|
||||
}
|
||||
|
||||
std::string cReplaceString(string subject, const string& search, const string& replace)
|
||||
{
|
||||
size_t pos = 0;
|
||||
while ((pos = subject.find(search, pos)) != string::npos)
|
||||
{
|
||||
subject.replace(pos, search.length(), replace);
|
||||
pos += replace.length();
|
||||
}
|
||||
return subject;
|
||||
}
|
||||
|
||||
/*
|
||||
#ifdef LINUX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user