{
{
int len1 = s1.length ();
int len2 = s2.length ();
s1.concat (s2));
s1.toUpperCase ());
s2.toLowerCase ());
s1.indexOf ("e") "in" s1);
"starting from index 2 and ending at 4 is = "
s1.substring (2, 4));
s1.replace ('e', 'o'));
boolean check = s1.equals (s2);
if (check == false)
else
}
}
Java program to implement all string operations.
Reviewed by
on
September 05, 2019
Rating:
No comments: