Returns a string with percent-encoded reserved characters, and spaces replaced by pluses (+).
The reserved characters in the original string are replaced with their
percent-escaped representation (%xx). Letters, digits, and the characters
.-_ are not escaped.
Arguments
| Arguments | |
|---|---|
source |
The string that will be converted. |
Returns
A percent-encoded copy of the source string with spaces converted to
pluses.
Raised exceptions
| Exceptions | |
|---|---|
TypeError |
If source is not a string. |
Examples
# Return string with percent-encoded reserved characters and pluses # Returns "a%2Fb%2Fc%3Fitem%3Dd%2Be+f" - returnStep: return: ${text.url_encode_plus("a/b/c?item=d+e f")}