FUNCTION::STRINGAT(3stap)
β¨ NAME β¨
okay so bestie, welcome to function::stringat β she returns the char at a given position in the string π
(also hi, you're in the SystemTap Tapset Reference, the "A collection of standard string functions" corner of the manual, section 3stap β iconic, no cap π)
πΈ SYNOPSIS πΈ
stringat:long(str:string,pos:long)
π¦ ARGUMENTS π¦
strβ the string you're fetching the character from, bestie. that's the vibe check source πposβ the position to get the character from. and listen, the first character is0, so it's giving zero-indexed, fr fr π
π DESCRIPTION π
so what she does: this function returns the character at a given position in the string, or zero if the string doesn't have as many characters. that's the whole serve β¨
but not me needing to warn you β she also reports an error if pos is out of bounds π so don't be out here just throwing random positions at her, she WILL clock it. stay in your lane, stay in bounds, periodt π
π SEE ALSO π
tapset::string(3stap)β go read her too, she's the whole friend group π«Ά
and that's the page bestie!! π from the SystemTap Tapset Reference, version line living its September 2026 fantasy, 3stap section, FUNCTIO...TRINGAT(3stap) energy, slay, go forth and index responsibly ππβ¨
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms