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
2 Posted Topics
Re: 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. | |
Re: 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] |
The End.