diff options
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r-- | stapfuncs.5.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 01adca12..46268229 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -91,8 +91,12 @@ strlen:long (str:string) Return the number of characters in str. .TP -substr:string (str:string,start:long,stop:long) -Return the substring starting at character start and ending at character stop. +substr:string (str:string,start:long, offset:long) +Return the substring of str starting from character start and ending at character start + offset. + +.TP +isinstr:long (s1:string, s2:string) +Returns 1 if string s1 contains string s2, returns 0 otherwise. .SS TIMESTAMP |