Need some help

Hello, My name is jared and i am currently working threw a JAVA course at my school right now. I have run into a sort of wall with my programming though... What is required of the current assignment is that a user imputs a sentance (such as "Hello everyone."). At which point the program is suppost to print the message untill it reaches a spcific letter (the Peroid in this case (.)). However, i have absoultly no idea how to go about locateing the peroid in the sentance...

Any suggestions would be very helpful!..

Also, i can't post what i have for about two hours... I do not have access to the computer with my codeing on it quite yet. However, i accept any help, regardless of what form it is in.

Thank you!

[740 byte] By [Sh4d0wsa] at [2007-11-27 3:50:55]
# 1

tips:

method: charAt(int idx) in class String gives you the char at the index "idx" in a string

method: length() in class String gives you the length of the string (facultative)

operator: "==" can be used to compare two chars (for example, '.' and charAt(something)

good luck

calvino_inda at 2007-7-12 8:54:51 > top of Java-index,Java Essentials,Java Programming...