function::stringat
Returns the char at a given position in the string
- Provided by: systemtap-doc (Version: 5.0-2ubuntu1)
- Source: systemtap
- Report a bug
Returns the char at a given position in the string
stringat:long(str:string,pos:long)
str
pos
This function returns the character at a given position in the string or zero if the string doesn't have as many characters. Reports an error if pos is out of bounds.