The 's' replaces just one space match at any given time but the 's+' replaces the whole space sequence at once with the 2nd parameter.In this instance, it tends to make no big difference, because you are changing everything using an empty string (Even though it would be improved to use s+ from an effectiveness viewpoint). For those who were being c