ENCODEURL("Hello there!") :
"https://www.google.com/search?q=" & ENCODEURL("AppSheet is fun!")) :
ENCODEURL( some-value )
some-value (of any type)
Text: the content of some-value encoded for safe use within a URL.
Encoding removes any special meaning the individual characters within some-value might have when used within a URL.
Characters with special meanings in URLs include but are not limited to: a space, ampersand (&), comma (,), hash (#), plus (+), question mark (?), semicolon (;), slash (/), and others.
For safety, all characters that aren't letters or numbers are subject to encoding.