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

◆ Insert()

proto void string::Insert ( int index,
string input )
private

Inserts a string into the n-th index, increasing the string length by the size of the input.

Аргументы
indexindex to insert at
inputstring value to insert with
Предупреждения
VME When index less than 0 or greater than string length
VME When string is empty
string str = "Hello World";
str.Insert(6, "Test ");
Print( str );
>> 'Hello Test World'
proto void Print(void var)
Prints content of variable to console/log.
proto void Insert(int index, string input)
Inserts a string into the n-th index, increasing the string length by the size of the input.

Используется в ActionBuildPart::ActionConditionContinue(), ActionBuildShelter::ActionConditionContinue(), ActionBuildPart::OnFinishProgressServer(), PluginFileHandler::ParseTextToArray() и Split().