Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
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
builtin
function
string
replace
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
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
.
Related questions
Add an eval function on Preprocessing Builtin functions
Boolean builtin functions?
Builtin functions - %dirpath & %file_exists not working as expected
Builtin functions issue
[Preprocessing] Expose as a builtin functions a color reverse function
All categories
Question / help
(1,601)
Bug
(1,698)
Wanted features
(1,456)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(13)
Can't help
(9)
To be deleted
(10)
To be sorted
(430)
...