Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Process strings to make them more URL friendly
ResourceFunction["SlugifyString"][string] gives URL-friendly version of string. |
"ForceLowerCase" | True | force string to be lowercase |
IgnoreDiacritics | False | if True, transliterates string |
"SeparatorCharacter" | "-" | character that replaces non-word characters |
Create a URL-friendly version of a string:
In[1]:= |
|
Out[1]= |
|
By default, this function transliterates into plain ASCII:
In[2]:= |
|
Out[2]= |
|
This function removes symbols, but keeps letters and numbers:
In[3]:= |
|
Out[3]= |
|
Don’t force lowercase:
In[4]:= |
|
Out[4]= |
|
Don’t transliterate:
In[5]:= |
|
Out[5]= |
|
Use a different separator character:
In[6]:= |
|
Out[6]= |
|
Combining options:
In[7]:= |
|
Out[7]= |
|
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License