I have to make a algorithm that find how many repetitions are of the sequence SUN in a given string. The sequence must contain the characters S-U-N in that order, even with other characters between them, then that counts toward its SUN degree. Each occurrence of SUN increases the degree by 1. For instance, the […]
The post How to find a sequence of chars (ignoring characters in between) in a string (JAVA) appeared first on BlogoSfera.