toSingleSpace
Modified on Wed, 16 Aug 2023
Description
Convert multiple spaces to a single space for a string
Syntax
toSingleSpace(text)
Parameters
Input Parameter | Type | Description |
---|---|---|
text | string | String to process |
Return value
Type |
---|
string |
Sample
Example | Result | Description |
---|---|---|
toSingleSpace("John Smith") | "John Smith" | Remove additional spaces |
To view all the String functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article