This function will remove all of a specific character from a string
function RemoveChar( parseme as string, notme as integer )
local RetVal as String = ""
local pos as integer
local char as string
if Len( parseme )=0 then exitfunction RetVal //should never be called with nothing in string
for pos=1 to Len( parseme )
char = mid( parseme, pos, 1 )
if Asc( char )<>notme then RetVal = RetVal +char
next pos
endfunction RetVal
For example: RemoveChar( mystring, 9 ) would remove all tabs from mystring, or RemoveChar( mystring, 34 ) would remove all quotes.
If you would like to pass a actual char to it you could always use Asc for example: RemoveChar( mystring, Asc( "*" ) ) would remove all stars from mystring
-EdzUp