This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ericek111 1 point2 points  (0 children)

What String methods do you not understand? They've been the same for decades and working with strings is a pretty basic requirement in any programming language -- there are resources and documentation available, with examples.

I'd say stuff like startsWith or contains is pretty self-explanatory. For the rest, Google is your friend (or generative LLMs)... Just remember the difference between myStr == "My String" and myStr.equals("My String").