Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need a program to find number occurrences of one string in another

 
kesavareddy jakkireddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want a programme that contain a textbox ,a button end user can give a string of diffarent lenths in textbox we have to search for occurancesand% of each string in given nuber of strings by clicking the button and %of their occurances

Example:
for example the end user gave "CCTACGGGGTGCAGCAGGCGCGCAAACCTCCGCAATGCAGGAAAGTGCGACGGGGGAAACCCAAGTGCCA
CTCTTAACGGGGTGGCTTTTCTTAAGTTTAAAAAAGCTTTTGGAATAAGAGTGGGCAAGACCGGTGCCAG
CCGCCGCGGTAA"as a string in textbox then we have to give no of occurrences of strings like "AAGTGCCA","CCGGT".....etc and their % of occurrence in java
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!