Removes new line characters and fixes half-spaces in a string.
A string which its new line characters and half-spaces should be removed or fixed.
RemNewlineHalfspace returns a string with new line characters and half-spaces removed or fixed.
1 2 3 4 5 6 7
# Create string with Persian string with new line characters and half-spaces x <- '\u062F\u0627\u0646\u0634\u06AF\u0627\u0647\u200C\u0647\u0627\u06CC \u062A\u0647\u0631\u0627\u0646' # Remove newline characters (eg.\n\r\t\f\v) and fix half-spaces RemNewlineHalfspace(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.