I have two string s1 ,s2 I want to search string s1 into s2 wildcard java

Viewed 21
String s1 = "*Hi*are*what*doing";
String s2 = "Hi_how_are_you_and_what_are_you_doing";

How can we search s1 string in s2 respectively in Java?

0 Answers
Related