Description Usage Arguments Details Value Examples
Reverses characters in every string.
1 |
str |
character vector |
Note that this operation is not very intelligent – it just reverses the order of all Unicode code points. It may result in non-Unicode-normalized strings and may give strange output for bidirectional strings.
Returns a character vector.
1 2 3 4 5 6 | stri_reverse(c("123", "abc d e f"))
stri_reverse("ZXY (\u0105\u0104123$^).")
## Not run:
stri_reverse(stri_enc_nfd('\u0105')) == stri_enc_nfd('\u0105') # A, ogonek -> agonek, A
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.