The 's' replaces one space match at any given time however the 's+' replaces the whole space sequence at the same time with the second parameter.In such a case, it helps make no change, since you are replacing anything with an empty string (Despite the fact that It might be better to employ s+ from an efficiency perspective). Should you have been c