Delete (substring): Difference between revisions
Jump to navigation
Jump to search
(edit) |
(edit) |
||
Line 7: | Line 7: | ||
<noinclude> | <noinclude> | ||
[[Category: | [[Category:Operations]] | ||
[[Category:String | [[Category:String Operations]] | ||
</noinclude> | </noinclude> |
Revision as of 07:10, 11 January 2012
In order to delete characters from a BR string, simply replace the string you want to remove with an empty string as follows:
00010 dim a$*255 00020 let a$ = "this will stay, and this will be removed" 00030 let a$(15:inf) = "" ! here inf denotes 'infinity' 00040 print a$