Java Java Objects Delivering the MVP Applying a Discount Code

Dearce Goodman
Dearce Goodman
645 Points

Stuck I'm trying to figure is there a isLetter method for the String class

trying to figure out how to find a method like isLetter for the String class and how to get the $ symbol isolated from the rest of the characters

1 Answer

Steven Parker
Steven Parker
195,561 Points

There's no string version of "isLetter", but if you create a loop to individually isolate the characters of the string, you can test each one using the Character method "isLetter", and you can also compare it with "$".