LISTSERV Maestro 11.0-20 Help Table Of Contents

Calculation Formulas

Back to Calculation Formulas Overview
Back to Functions Overview


Function "URLEncode"

URLEncode(arg)

Function: Returns the given text argument (or set of texts) with all characters that are unsafe to be used in a URL parameter encoded in URL-safe form, so that the resulting text can be safely included in a URL or as a URL parameter.

Return-Type: Text or Text Set

Arguments:
arg - Type Text or Text Set: If a single text is given, then this text is encoded and the result is returned. If a set of texts is given, then all texts in the set will be encoded and a set with these encoded texts is returned.

Examples:
URLEncode("This text contains characters like '=', '?' and '&' which are not URL-safe and need to be encoded")

© 2002-2023 L-Soft Sweden AB. All rights reserved.