Coder's Guild Mailing List

Reducing a string

Posted by Mark Burford on 2000-04-30

Hi, am using C, and have to reduce a string down to just single occurances
of individual letters, that is , no repeats of the same letter.

eg)   abfaghb goes to abfgh

the order needs to be kept as I would like to put the result in a 5x5
matrix.  Any help on this part would also be appreciated

for those interested, this is for an encryption program using the Playfair
Cipher.

Many thanks


Mark B