table of contents
other versions
- jessie 2.6-0.2
- jessie-backports 3.0-6~bpo8+1
- stretch 3.1-2
- testing 3.3-1
- unstable 4.0-1
FUNCTION::STRINGAT(3stap) | A collection of standard strin | FUNCTION::STRINGAT(3stap) |
NAME¶
function::stringat - Returns the char at a given position in the stringSYNOPSIS¶
stringat:long(str:string,pos:long)
ARGUMENTS¶
strthe string to fetch the character from
pos
the position to get the character from (first character
is 0)
DESCRIPTION¶
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.November 2014 | SystemTap Tapset Reference |