Ajoy Byascar Selenium Tutorial
This tutorial consists of the selenium courses plus interview questions and answers.
Find and Replace in String
public class ReplaceString {
public static void main(String[] args) {
String s="abcdaaa";
String y=s.replace('a', 'b');
System.out.println("new string is "+y);
}
}
Home
Subscribe to:
Posts (Atom)