阅读背景:

用java搜索字符串中的子串

来源:互联网 

How would I find multiple substrings inside of a string? Let's compare it to gene sequencing. You have a string: TTCGAGATGCTGATTGACATGTTAGTAG. I've figured out how to find the start of my sequence (ATG is the starting point) and the end of the sequence using only TGA. I can't figure out how to repeat the process for TAA and TGA. Is it possible to have all 3 substrings in my line of code looking for my end point?How would I find multiple substrings inside of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: