TAPSET::STRING(3stap) TAPSET::STRING(3stap)

# [NAME](#NAME)

tapset::string - systemtap string tapset

# [DESCRIPTION](#DESCRIPTION)

[**strlen**](#strlen)

Returns the length of a string

See [*function::strlen*(3stap)](/man/enterprise-packages/systemtap/function::strlen.3stap)  
for details.

[**substr**](#substr)

Returns a substring

See [*function::substr*(3stap)](/man/enterprise-packages/systemtap/function::substr.3stap)  
for details.

[**stringat**](#stringat)

Returns the char at a given position in the string

See [*function::stringat*(3stap)](/man/enterprise-packages/systemtap/function::stringat.3stap)  
for details.

[**isinstr**](#isinstr)

Returns whether a string is a substring of another string

See [*function::isinstr*(3stap)](/man/enterprise-packages/systemtap/function::isinstr.3stap)  
for details.

[**strpos**](#strpos)

Returns location of a substring within another string

See [*function::strpos*(3stap)](/man/enterprise-packages/systemtap/function::strpos.3stap)  
for details.

[**text\_str**](#text_str)

Escape any non-printable chars in a string

See [*function::text\_str*(3stap)](/man/enterprise-packages/systemtap/function::text_str.3stap)  
for details.

[**text\_strn**](#text_strn)

Escape any non-printable chars in a string

See [*function::text\_strn*(3stap)](/man/enterprise-packages/systemtap/function::text_strn.3stap)  
for details.

[**- strtol**](#strtol)

Convert a string to a long

See *function::-*strtol*(3stap)*  
for details.

[**isdigit**](#isdigit)

Checks for a digit

See [*function::isdigit*(3stap)](/man/enterprise-packages/systemtap/function::isdigit.3stap)  
for details.

[**string\_quoted**](#string_quoted)

Quotes a given string

See [*function::string\_quoted*(3stap)](/man/enterprise-packages/systemtap/function::string_quoted.3stap)  
for details.

# [SEE ALSO](#SEE_ALSO)

[*function::strlen*(3stap)](/man/enterprise-packages/systemtap/function::strlen.3stap), [*function::substr*(3stap)](/man/enterprise-packages/systemtap/function::substr.3stap), [*function::stringat*(3stap)](/man/enterprise-packages/systemtap/function::stringat.3stap), [*function::isinstr*(3stap)](/man/enterprise-packages/systemtap/function::isinstr.3stap), [*function::strpos*(3stap)](/man/enterprise-packages/systemtap/function::strpos.3stap), [*function::text\_str*(3stap)](/man/enterprise-packages/systemtap/function::text_str.3stap), [*function::text\_strn*(3stap)](/man/enterprise-packages/systemtap/function::text_strn.3stap), [*function::-*(3stap)](/man/enterprise-packages/systemtap/function::-.3stap), [*function::strtol*(3stap)](/man/enterprise-packages/systemtap/function::strtol.3stap), [*function::isdigit*(3stap)](/man/enterprise-packages/systemtap/function::isdigit.3stap), [*function::string\_quoted*(3stap)](/man/enterprise-packages/systemtap/function::string_quoted.3stap), [*stap*(1)](/man/enterprise-packages/systemtap/stap.1), [*stapprobes*(3stap)](/man/enterprise-packages/systemtap/stapprobes.3stap)

September 2026 SystemTap Tapset Reference

---

Document: tapset::string(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
