URGENT...PLease help!!!!
I need to do a check in my java code to see if a string begins with the character ".How is it that I can represent just the single quote mark as a string?I do not seem to be able to use the following:"""'"'"\""PLEASE HELP!!!!!!
[285 byte] By [
CHEERS] at [2007-9-26 3:25:15]

Hi !
Try this :
String test = "\"This text starts with a quote, and finishes with a quote\"";
boolean quoteFirstChar = test.charAt(0) == '\"';
boolean quoteLastChar = test.charAt(test.length()-1) == '\"';
System.out.println(quoteFirstChar+" : "+quoteLastChar);
Regards,
stephane