argbreak

Синтаксис

stock argbreak(const text[], left[], leftlen, right[], rightlen)

Употреба

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.