The simplest solution would be to use string slicing. Read the help to get full details, but generally you want to do this: FieldString[Position] = ' '
where FieldString is your string and Position is the position returned from INSTRING. If you want to check and replace multiple commas, put in all in a LOOP with a BREAK when INSTRING returns zero(0).