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

◆ ParseString()

proto int string::ParseString ( out string tokens[])
private

Parses string into array of tokens returns number of tokens.

Аргументы
[out]tokensarray[] Parsed string in array
Возвращает
int Number of tokens
string token[2];
string str = "Hello World";
int result = str.ParseString(token);
for (int i = 0; i < 2; i++)
{
Print(token[i]);
}
>> 'Hello'
>> 'World'
proto void Print(void var)
Prints content of variable to console/log.
proto int ParseString(out string tokens[])
Parses string into array of tokens returns number of tokens.