FUNCTION::STR_REPLACE(3stap)
β¨ NAME β¨
okay bestie, welcome to the 3stap girlies' corner of the SystemTap Tapset Reference π this one's called function::str_replace and it Replaces all instances of a substring with another β like find-and-replace but make it a whole entire function, no cap π¦
πΈ SYNOPSIS πΈ
str_replace:string(prnt_str:string,srch_str:string,rplc_str:string)
three strings in, one string out, that's the whole vibe π
π ARGUMENTS π
prnt_strβ the string to search and replace in. this is the main character, the one getting a glow-up β¨srch_strβ the substring which is used to search inprnt_strstring. the little detective hunting through your text πrplc_strβ the substring which is used to replacesrch_str. the swap-in, the understudy, the new fit π
π¦ DESCRIPTION π¦
This function returns the given string with substrings replaced. that's it, that's the tea π it takes your string, finds the bits you're looking for, and swaps in what you want instead. lowkey iconic, highkey useful π
SystemTap Tapset Reference, Version β and the page is dated September 2026 π so yeah, this lil page is living in the future fr fr. bye bestie, go replace some substrings, mwah ππ«Ά
π¦ 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