public static Boolean cmprStr( String s1, String s2 )
{
// STUFF
}
I want to iterate through s1 to make sure that every character in s1 is incl
length()
will give you the length of a string
charAt( someIndex)
will give you the character at a given position, so you can iterate the first String.
indexOf( achar )
will give you the poisition a char in a String, or -1 if it's not there. hence you should be able to look for each character in the first string within the second.