stock

xs_strmid

Syntax

stock xs_strmid(const oldmsg[], newmsg[], start, end, outlen=-1)

Description

Copies characters from @oldmsg to @newmsg, starting at @start and ending
at @end (includes the end character).

Parameters

oldmsg The string to copy from.
newmsg The string to copy to.
start Starting position of the @oldmsg string to copy from.
end Ending position of the @oldmsg string to copy from.
outlen If positive, specifies the maximum number of characters
to be copied. Otherwise, the function assumes that
newmsg is at least @end - @start + 1 characters long.

Return

This function has no return value.