LISTSERV Maestro 11.0-20 Help Table Of Contents

Calculation Formulas

Back to Calculation Formulas Overview
Back to Functions Overview


Function "StartsWith"

StartsWith(text, prefix)

Function: Checks if "text" starts with the given "prefix", i.e. if the first characters in "text" are equal to the characters in "prefix". Returns "true" if the prefix matches, "false" if not.

Return-Type: Boolean

Arguments:
text - Type Text: The text string whose prefix is to be checked.
prefix - Type Text: The prefix to check for.

Examples:
StartsWith("this is a longer text", "this")
StartsWith(&VALUE;, "abc")

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