Getting a compiler error ')' expected in my If statement

I am currently getting the compiler error in the If statment below but can not figure out why. Any help is appreciated!if (line.charAt(i) == ',' and (j == 0)) {j++;NumberOfChars = 0;i++;}Thanks in advance!
[256 byte] By [evmoa] at [2007-10-3 1:16:27]
# 1
Replace the "and" with either "&&" or "&" - probably &&. See http://java.sun.com/docs/books/tutorial/java/nutsandbolts/relational.html
ChuckBinga at 2007-7-14 18:13:38 > top of Java-index,Desktop,Runtime Environment...