From: John Sampson Date: 2013-01-17T01:36:21+09:00 Subject: Escaped backslashes in input strings - newbie question In Icon a solution looks like this: ######################################################## # # Procedure to remove escaped characters from # CINDEX DAT file # ######################################################## # # Scan string to find each "\" character. # Remove it and the following character. # ######################################################## procedure remesc(s) local outputstring outputstring := "" # initialise s ? { while outputstring ||:= tab(upto('\\')) do move(2) outputstring ||:= tab(0) } return outputstring end Earlier today I wrote: > I am trying to find a way of removing escaped characters in input > strings from a file made by another program. That is to say, > two-character sequences in which the first character is a backslash.