Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~465 People Reached
Favorite Forums
Favorite Tags
java x 10
Member Avatar for skiplatte

Hi, is there a way to read in a file to give a string which is passed to the method without reading line by line? I need to read in something like this... 1 MLRLPTVFRQ MRPVSRVLAP HLTRAYAKDV KFGADARALM LQGVDLLADA 51 VAVTMGPKGR TVIIEQSWGS PKVTKDGVTV AKSIDLKDKY KNIGAKLVQD 101 VANNTNEEAG DGTTTATVLA RSIAKEGFEK ISKGANPVEI …

Member Avatar for P00dle
0
75
Member Avatar for skiplatte

I'm trying to split an input string into an array of substrings and currently trying something like this... [CODE] public static void tryp(String inputString){ int index = 0; String[] rArray = new String[1000]; String[] kArray = new String[1000]; int startPos = 0; int x; int newRPos = 0; int newKPos …

Member Avatar for skiplatte
0
147
Member Avatar for skiplatte

I'm getting StringIndexOutOfBoundsException when I try to reasign the value of a variable. [icode]protString = protString.substring(newRPos+1, input.length());[/icode] I understand that this is something I would rather not do... but as I don't know the index of newRPos I can't think of another way to iterate. Thanks

Member Avatar for masijade
0
93
Member Avatar for skiplatte

Pretty much what the title says!! Basically I want to store method generated Strings and then plug them into another method - would hashtable be a way to do this?? Thanks

Member Avatar for masijade
0
99
Member Avatar for skiplatte

Hi, I have used Tokenizer to split a user input string into tokens and retained the delimiters (R and K). Is there any way to combine each delimiter with it's preceding token to create a result string? eg change tokens FGADA and R into one string FGADAR which I can …

0
51