Everything about s

The 's' replaces a single Room match at a time although the 's+' replaces the whole space sequence at once with the 2nd parameter.In this instance, it would make no distinction, since you are changing everything using an vacant string (although It might be greater to use s+ from an efficiency perspective). When you were changing using a non-empty s

read more