check_other_hyperlinks {One4All} | R Documentation |
This function checks if the input string contains a non-image hyperlink and formats it as an HTML anchor tag.
check_other_hyperlinks(x)
x |
A character string to check for non-image hyperlinks. |
A character string with the HTML anchor tag if a non-image hyperlink is found, otherwise the input string.
check_other_hyperlinks("https://example.com/page")
check_other_hyperlinks("https://example.com/image.png")
check_other_hyperlinks("https://example.com/image.jpg")