Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

substring-before()

 

Syntax

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.