center_string | R Documentation |
Center a string in a string with a given length by padding both ends with spaces
center_string(x, len_out, ctr_char)
x |
- input string |
len_out |
- total length of output string |
ctr_char |
- char - character to center on |
character - a padded string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.