JAVA
Replace/remove character in a String

To replace all occurences of a given character :
String myString = "Replace ' by * ";
String tmpString = myString.replace( '\'', '*' );
System.out.println( "Original = " + myString );
System.out.println( "Result = " + copyString );



To replace a character at a specified position :
public static String replaceCharAt(String s, int pos, char c) {
return s.substring(0,pos) + c + s.substring(pos+1);
}



To remove a character :
public static String removeChar(String s, char c) {
String r = "";
for (int i = 0; i < s.length(); i ++) {
if (s.charAt(i) != c) r += s.charAt(i);
}
return r;
}



To remove a character at a specified position:
public static String removeCharAt(String s, int pos) {
return s.substring(0,pos)+s.substring(pos+1);
}



Check this Optimize How-to for a more efficient String handling technique.

verizon fios quantum router - switching from an old router to a new one

  this is a guide about how to replace verizon fios quantum router G1100 with the exact same model.  you can simple unplug everything and re...