argbreak | string | AMX X Documentation

Инклуды

    1. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    2. Стоки
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    2. Форварды
    1. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Стоки
    1. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    1. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    1. Нативы
    2. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    2. Стоки
    1. Нативы
    2. Стоки
    1. Стоки
    1. Нативы
    1. Нативы
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Стоки
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    2. Форварды
    3. Стоки
    1. Нативы
    1. Нативы
    2. Стоки
    1. Стоки

argbreak

Синтаксис
									stock argbreak(const text[], left[], leftlen, right[], rightlen)
									{
     new pos = argparse(text, 0, left, leftlen);

     if (pos == -1)
          return -1;

     new textlen = strlen(text);
     while (pos < textlen && isspace(text[pos]))
          pos++;

     copy(right, rightlen, text[pos]);
     return pos;
}
								
Переменная Описание
text
Source input string.
left
Buffer to store string left part.
leftlen
Maximum length of the string part buffer.
right
Buffer to store string right part.
rightlen
Maximum length of the string part buffer.

Описание
Emulates strbreak() using argparse().

Возвращает
-1 if no match was found; otherwise, an index into source marking the first index after the searched text. The index is always relative to the start of the input string.
Сверху Снизу