I have what I hope is a simple question but am seriously stuck...
Supposed to write a program that will ask the user for an address and then output some data...
I have part of the code working properly. Where I am stuck is that I need to tell the program to look at the last 5 characters in the string and output it...
Can anyone help? I know it has something to with length, indexof or substring but can't seem to figure out how to do it... any help is appreciated!!
Supposed to write a program that will ask the user for an address and then output some data...
I have part of the code working properly. Where I am stuck is that I need to tell the program to look at the last 5 characters in the string and output it...
Can anyone help? I know it has something to with length, indexof or substring but can't seem to figure out how to do it... any help is appreciated!!
Comment