Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    substring-before()

    Syntax

    string substring-before(string, string)

    Description

    Return the portion of the first string argument that precedes the occurrence of the second argument substring within the first. If the second string is not contained in the first string, or if the second string is empty, the function returns an empty string.

    Usage Examples

    See Example: Automatically Configuring Logical Interfaces and IP Addresses.

    Published: 2013-03-05