FUNCTION::STRLEN(3stap)

πŸ’– FUNCTION::STRLEN πŸ’–

okay bestie, welcome to the SystemTap Tapset Reference β€” "A collection of standard strin..." ✨ yes the title got cut off mid-word, we love a mysterious queen, no notes. this page is from 3stap, section 3, and she's all about ONE thing: counting how long your string is. periodt.


✨ NAME ✨

function::strlen β€” returns the length of a string πŸŽ€

literally that's it. that's the job. she counts.


🌸 SYNOPSIS 🌸

strlen:long(s:string)

so she takes a string, she gives you back a long. transactional. iconic. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • s β€” the string. that's the one. the string in question. the girlies. the text. hand her the string and she'll tell you how long it is 🌈

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: this function returns the length of the string. 🫢

and the range? it can be zero β€” yes, zero, a string can absolutely be empty and that's valid and we respect her β€” all the way up to MAXSTRINGLEN. that's the ceiling. that's the limit. that's the vibe check she will not exceed. πŸ’€

so: 0 to MAXSTRINGLEN, inclusive, that's the whole range, no cap. πŸ”₯


⭐ SEE ALSO ⭐

  • tapset::string(3stap) β€” the whole string tapset, go explore, she's part of a friend group πŸ’–

k bye bestie, go count some strings, you're gonna slay πŸ’…βœ¨

this little love letter came to you from the SystemTap Tapset Reference, version Ver, dated September 2026 πŸŽ€ mwah πŸ’‹

πŸ“¦ where this page comes from