strlen
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | strlen [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: strlen.txt, | ||
+ | ======Synopsis: | ||
+ | $__strlen__(< | ||
+ | |||
+ | ======Technical: | ||
+ | This function is used to determine the length, in characters, of a given | ||
+ | string. | ||
+ | |||
+ | ======Practical: | ||
+ | This function is effectively the same as the $@var notation, except that | ||
+ | $@var only works for variables, not functions or automatic expandos. | ||
+ | |||
+ | ======Returns: | ||
+ | | >0 | number of characters in string | | ||
+ | | 0 | no string given | | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $strlen($1-3) | ||
+ | $strlen(epic is cool) returns " | ||
+ | </ | ||
strlen.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1