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

◆ Get()

proto string string::Get ( int index)
private

Gets n-th character from string.

Аргументы
indexcharacter index
Возвращает
string character on index-th position in string
Предупреждения
VME When index less than 0 or greater than string length
string str = "Hello World";
Print( str[4] ); // Print( str.Get(4) );
>> 'o'
proto void Print(void var)
Prints content of variable to console/log.

Используется в UIPopupScript::ClearHierarchy(), DialNextNumber(), UIPopupScript::ExpandHierarchy(), UIPopupScript::FindInHierarchy(), PluginBase::GetBaseClassPath(), PluginBase::GetBaseClassPathRecursive(), ConstructionActionData::GetDialNumberText(), PluginFileHandler::GetLastLine(), CGame::GetModelName(), ScriptedWidgetEventHandler::GetValueString(), OptionSelectorSliderSetup::IsValidEditboxValue(), ScriptConsoleCameraTab::IsValidEditboxValue(), OrderedAltitudeNumbersPosition(), OrderedPositionNumbersFromGridCoords(), ShuffleLock() и ScriptConsoleGeneralTab::TextToNumbersArray().