Query: function::stringat
OS: centos
Section: 3stap
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FUNCTION::STRINGAT(3stap) A collection of standard strin FUNCTION::STRINGAT(3stap)NAMEfunction::stringat - Returns the char at a given position in the stringSYNOPSISstringat:long(str:string,pos:long)ARGUMENTSstr the string to fetch the character from pos the position to get the character from (first character is 0)DESCRIPTIONThis 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. SystemTap Tapset Reference June 2014 FUNCTION::STRINGAT(3stap)