Getting the no repeated pairs out of a a string
Is there any command in C(no c++) that takes a string as a parameter and returns a string with the no repeated pairs.
the string : teststring, should return
te es st ts tr ri in ng
te es st ts st tr ri in ng
the spaces are just for illustrative purpose and to get the idea of what Im trying to get here.
thanks in advance.
Last edited by charlitos; 02-17-2009 at 02:14 AM.