Tom Wolve

Ranch Hand
+ Follow
since Sep 22, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tom Wolve

Hi,
the String method 'indexOf(..)' is very helpful.
if it returns -1, the character is not in the string.
20 years ago
Hi,
if you're using a StringTokenizer with ' ' as delimiter character, use it with returnDelims enabled.
Count all tokens which are equal to " " and that should do it.
20 years ago
Hi,
try using 'new'.
20 years ago
Hi,
maybe you should use two interfaces, a 'basic' interface with one method and another one extending it where you may add the second method.
Greetings,
Tom
Hi,
try


and your thread should be sleeping between two and four seconds.
20 years ago
Hi,
to learn the basics of JDBC try the Sun tutorial.
JDBC tutorial
Hi,
let me give you some clues.
- 'nextToken' is a method. --> nextToken()
- String has no methods 'append' or 'insert'.
- The first character in a String is charAt(0).
This should make the it a little bit easier, at least for the compiler
20 years ago
Hi,
usually 'return' is the 'right' way to exit a method in Java, throwing an exception is another.
20 years ago
Hi,
Let' try to make the code more readable to understand it.

Hope this helps a bit
Tom
Hi,


This should do it.
20 years ago
Hi,
maybe it helps to know that unicodes like '\u000A' are replaced once before compiling.
So

will be

which will cause a compile error.
Greetings
Tom
Hi,
hope the following code fragment will help
20 years ago
The one I use is a download.
If you think your one doesn't work, try to download again or try to re-install.
20 years ago
Follow the link or try search 'string equal'
Link