[SOLVED] Help with inputing string text, etc
I'm very new to Java and computer programming overall....
We have to input a string of characters, for example, The Lord of the Rings and it's supposed to output it's length, then we input an index within the string, and it's supposed to output the character at that position and then we input another text string, and output the location of the first occurrence of the second string within the first one.
I'm not entirely sure where to even begin with it. I've been reading through my book I have and online, but I can't seem to figure out how to make it so when I type in the sentence in the box it will spit out everything it needs. Thank you for any information!!
please post code and error
Post your complete code (including the main)... not just a piece of it... Also, please post the complete error you're getting.