squote() function

The squote() function extracts a single-quoted string from str.exp.

Syntax

squote(str.exp)

Parameter(s)

str.exp String to be searched for in single quotation marks.

Description

The squote() function returns the first substring found that is surrounded by single quotation marks. If no substring is found matching this criteria, then a null string is returned.