Originally posted by Reggie McDougal: This works well would you say its overdoing it? Do I need to use the string buffer? Is s = s.substring(2); using StringBuffer under the hood?
Perhaps this is overdoing it if you only want to remove the first 2 chars (or the last 2). However, if you want to remove chars from the middle of a String, this is probably better than trying to use substring().