Hello if a have the string:String myString = "This is my good string.,
I want to check if the word "my" is contained in myString, and so i want to transform myString in myString = "my good string.
I tryied this code per verify the subrstring in the string:
String myString = "this is my good string.";
String mySubString = "my";
if (myString.toLowerCase().contains(mySubString.toLowerCase()) {
return true;
}
But now how can i take myString from "my..." to the end of that String? Thank you!