extract

final_realms_fluffos_v1/lib/doc/man/local/efuns/strings/extract · 491 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

extract             FR-MUD's efun help            extract

string extract(string str, int from, int 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.
     extract(str, i, j) will return a string from character i to character j.

     This is obsolete, though it is still retained as a simul_efun.  Use
     str[from..to] to get substrings of strings.

See also
     sscanf, explode.

Site Stats

Snippets: 1791
Codebases: 571