From a6cfdac66b2485c9e2a073f2f31b03fe9b376e47 Mon Sep 17 00:00:00 2001 From: kevinrs Date: Thu, 29 Sep 2005 00:11:39 +0000 Subject: [PATCH] stapfuncs.5.in added documentation for new string function 'isinstr()' --- stapfuncs.5.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 01adca123..46268229f 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 -- 2.43.5