Im pretty new to java after programming with python for about a year i thought i'd give it a go. I did have a quick question though.
How would i check for membership in a string.
String str1="Hello world"; String str2 = "world";
Is there any way to check if str2 in str1?