title: Find a repetitive sequence in a string
body: <p>I would like to find repetitive sequence in a string in VB.Net, something like:</p>
  
  <p>Dim test as String = "EDCRFVTGBEDCRFVTGBEDCRFVTGBEDCRFVTGBEDCRFVTGBEDCRFVTGBEDCRFVTGB"</p>
  
  <p>I want the program to detect the repetitive sequence, in case EDCRFVTGB and to count how many times it is repeated. My problem is to find the repetitive sequence in the string, I searched several ways to do it but I did not get a solution, I tried quicksort algorithms, duplicate algorithms, but several of them don't work with strings.</p>
  
  <p>I though about create substrings and check their existence in the string, but I don't know how to get the substring, since there is not a pattern on the string, also there is a possibility of no repetitive sequence in the string.</p>