Replace all occurrances of 'sample' in 'str' by 'replace'.
sample | string to search in str |
replace | string which replace sample in str |
int
- number of occurrances of 'sample' in 'str' Используется в PluginFileHandler::AddNewLine(), Surface::AllowedWaterSurface(), BeautifiedToVector(), PluginConfigHandler::DecodeInitScript(), PluginConfigHandler::EncodeInitScript(), PluginFileHandler::GetAllLines(), ScriptConsoleItemsTab::PreprocessFilterText(), ParticleList::RegisterParticleByFullPath(), OpenDirPlugin::Run(), SVNBlamePlugin::Run(), SVNDiffPlugin::Run(), SVNShowLogPlugin::Run(), DayZTool::RunDayZBat(), ScriptConsoleEnfScriptTab::RunEnscript() и CfgGameplayHandler::ValidateItems().