This code below demonstrates how to remove a character from a string:
'this is a simple code sample that demonstartes how to'remove a character from the string. A null string exits the loop'modified by BJ Moore[reenter]PRINT"Type in a string and press ENTER."INPUT a$
PRINT"string:";a$
LET s=LEN(a$)IF s =0THENENDPRINT"string length:";s
[LOOP]PRINT"Type the character you wish to remove from string and press ENTER."INPUT num$
IFLEN(num$)=0THENEND
n =INSTR(a$,num$)IF n=0THENGOTO[figurenot]
a$=LEFT$(a$,n-1)+RIGHT$(a$, s-n)LET s=LEN(a$)PRINT"string length:";s
PRINT a$
IF s<1THENGOTO[aromved]GOTO[LOOP][aromved]PRINT"all figures removed from string"GOTO[reenter][figurenot]PRINT"figure does not exsist"GOTO[LOOP]
original code by Alex Barfoot -