url_unikn removes various patterns (e.g., "http", "https", "://", "www.") from the front of a given URL and returns the remaining character string with an n-dash (Unicode \u2013) prefix, rather than the former figure dash (\u2012) prefix (as the latter created issues on Fedora Linux systems).

url_unikn(url = "https://www.uni-konstanz.de/")

Arguments

url

The url to be written (as copied from a web browser).

See also

xbox to create a new xbox (without text).

Other text functions: mark(), post(), uline()

Examples

url_unikn("https://www.uni-konstanz.de/")
#> [1] "– uni-konstanz.de"