Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create your method here
- public static boolean startsWith( String s1, String s2 )
- {
- return s1.indexOf( s2, 0 ) != -1 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement