The 's' replaces 1 Area match at a time nevertheless the 's+' replaces The entire space sequence at once with the 2nd parameter.In this instance, it tends to make no variance, because you are replacing almost everything with an empty string (Despite the fact that It will be much better to implement s+ from an performance standpoint). In the event y