[ad_1]
You have startsWith method in String class.
yourString.startsWith("not")
0
[ad_2]
solved How to check if a string is present at the beginning of another string in java [duplicate]
[ad_1]
You have startsWith method in String class.
yourString.startsWith("not")
0
[ad_2]
solved How to check if a string is present at the beginning of another string in java [duplicate]