delete character in a string code example Example: remove charachter from string StringBuilder sb = new StringBuilder(inputString);