replace string via builtin function

0 votes
asked Jan 25 in Wanted features by kirchsth (7,300 points)
I would like to replace the first x. findings in a string with another value like
     !$replaced = %replacestr("ABXYABAB", "AB", "abc", 2)   
     ' $replaced should be "abcXYabcAB"

but I didn't found it in the documentation.
Did I oversee it?

BR
Helmut

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...