1FUNCTION::SUBSTR(3stap) A collection of standard strin FUNCTION::SUBSTR(3stap)
2
3
4

NAME

6       function::substr - Returns a substring
7

SYNOPSIS

9           substr:string(str:string,start:long,length:long)
10

ARGUMENTS

12       str
13           the string to take a substring from
14
15       start
16           starting position of the extracted string (first character is 0)
17
18       length
19           length of string to return
20

DESCRIPTION

22       Returns the substring of the given string at the given start position
23       with the given length (or smaller if the length of the original string
24       is less than start + length, or length is bigger than MAXSTRINGLEN).
25

SEE ALSO

27       tapset::string(3stap)
28
29
30
31SystemTap Tapset Reference         May 2021            FUNCTION::SUBSTR(3stap)
Impressum