Delete (substring): Difference between revisions
Jump to navigation
Jump to search
(edit) |
m (moved Delete to Delete (substring)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
00030 let a$(15:inf) = "" ! here inf denotes 'infinity' | 00030 let a$(15:inf) = "" ! here inf denotes 'infinity' | ||
00040 print a$ | 00040 print a$ | ||
See also [[Delete (statement)]] and [[Delete (command)]]. | |||
<noinclude> | <noinclude> |
Latest revision as of 13:38, 13 May 2014
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$
See also Delete (statement) and Delete (command).