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
Ranked #72.8K
~239 People Reached
Favorite Forums
Favorite Tags
java x 2

2 Posted Topics

Member Avatar for Dearster

You can input the two numbers from the user and keep them as a string in your program, after that, you can use the "StringTokenizer" class which can split your string into tokens. NOTE: I think it's under the directory java.util. I hope my answer was helpful.

Member Avatar for javaAddict
1
116
Member Avatar for Dearster

It would be easy if you use the "contains(...)" method.[CODE]String f = "abcde"; System.out.println(f.contains("bc"); System.out.println(f.contains("de");[/CODE]

Member Avatar for stultuske
1
123

The End.