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

◆ SubstringInverted()

string string::SubstringInverted ( string string_to_split,
int position_start,
int position_end )
inlineprivate

Inverted SubString. This deletes everything in between position_start and position_end.

См. определение в файле EnString.c строка 116

117 {
118 string first_half = string_to_split.Substring(0, position_start);
119 string second_half = string_to_split.Substring( position_end, string_to_split.Length() - position_end );
120 string result = first_half + second_half;
121 return result;
122 }
proto native int Length()
Returns length of string.
proto string Substring(int start, int len)
Substring of 'str' from 'start' position 'len' number of characters.

Перекрестные ссылки Length() и Substring().