extract

mud/2.4.5/doc/efun/extract · 317 B

From the archive 2.4.5-for-1.1.tgz

Download the archive   « Back to the archive contents

string extract(str, from, to)
string str;
int from, to;

Extract a substring from a string. Character 0 is first character.
'extract(str, n)' will return a substring from characer number 'n' to the end.
'ectract(str, i, j)' will return a string from character 'i' to
character 'j'.

See also efun/sscanf efun/explode

Site Stats

Snippets: 1791
Codebases: 571