manual:chapter3:strings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:chapter3:strings [2017/09/02 13:50]
smartin [Commands for strings]
manual:chapter3:strings [2017/09/02 13:55]
smartin [Commands for strings]
Line 24: Line 24:
 | ''SREV'' | Reverse the string | ''"Hello World" SREV'' yields ''"dlroW olleH"'' | | ''SREV'' | Reverse the string | ''"Hello World" SREV'' yields ''"dlroW olleH"'' |
 | ''REPL'' | Replace part of a string with another at the specified position | ''"Hello World" 7 "Universe" REPL'' yields ''"Hello Universe"''| | ''REPL'' | Replace part of a string with another at the specified position | ''"Hello World" 7 "Universe" REPL'' yields ''"Hello Universe"''|
-| ''SREPL'' | | |+| ''SREPL''Search and replace a string (return 1 if successful, 0 if not) ''"Hello World" "World" "Universe" SREPL'' yields ''"Hello Universe" 1'' |
 | ''SUB'' | | | | ''SUB'' | | |
 | ''HEAD'' | | | | ''HEAD'' | | |
  • manual/chapter3/strings.txt
  • Last modified: 2017/09/09 20:07
  • by claudio