say i have a string:
a,b,c,d,e-f,g,h,
And i want to check if it contains the substring abcdefgh
with skips of 1
character. I may change it later to a different skip count or even check for
any match with different skips between the characters.
What would be that best way to approach this? is there anything out there in c that maybe i'm missing?