DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Trim()

proto string string::Trim ( )
private

Returns trimmed string with removed leading and trailing whitespaces.

Возвращает
string - Trimmed string
string str = " Hello World "
Print( str );
Print( str.Trim() );
>> ' Hello World '
>> 'Hello World'
proto void Print(void var)
Prints content of variable to console/log.
proto string Trim()
Returns trimmed string with removed leading and trailing whitespaces.

Используется в PluginBase::GetOnlyChildPath(), ScriptConsoleConfigTab::OnClick(), PluginFileHandler::ParseText(), PluginFileHandler::ParseTextToParameter(), ScriptConsoleItemsTab::PrepareFilters(), ScriptConsoleSoundsTab::PrepareFilters() и PluginBase::SpawnFromClipboard().