jeudi 23 avril 2015

How to break the string and make patterns out of it?

I am having a string abcpqrabcpqr. I have to fetch the patterns as abc & pqr. I have to find similar pairs of elements and finally i have to count its occurrence in string.Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire