substring-before()

Syntax

string substring-before(string, string)

Description

Return the substring of the first argument string that occurs before the second argument string. If the second string is not contained in the first string, or if the second string is empty, then it returns an empty string.

See Example: Automatically Configuring Logical Interfaces and IP Addresses.

Related Topics