str_token_sort | R Documentation |
Given an input string, tokenise it (using str_tokenise()
), sort the tokens alphabetically and
return the result as a single space-separated string.
str_token_sort(x)
x |
The input string. Non-character inputs will be coerced with |
A character vector the same length as x
containing the sorted tokens.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.