Shortens a string
1 | strShorten(str, max.nchar = 20, cont = "...")
|
str |
a string |
max.nchar |
maximum number of chars in the return string |
cont |
ending of the shortend string |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.