Skip to main content

split_identifier_string

Function split_identifier_string 

Source
pub fn split_identifier_string(
    s: &str,
    separator: u8,
) -> Option<Vec<Cow<'_, str>>>
Expand description

SplitIdentifierString: the identifiers in s with separator between them, or None when the syntax is not correct.

White space can be before and after each identifier. An identifier in double quotes can have any character, and two quotes in it are one quote. An identifier without quotes ends at the separator or at white space, and it cannot be empty. A string of only white space is an empty list. The search path setting and the name input of the OID alias types use this syntax.