edgeport - v1.0.3
    Preparing search index...

    Function substring

    • Substring match (attr=initial*any*...*final) from explicit anchor parts.

      Each part is carried literally, so wildcards are expressed only by which parts are present, never by metacharacters inside them. At least one part must be supplied.

      Parameters

      • attr: string

        The attribute description.

      • parts: { any?: string[]; final?: string; initial?: string }

        The substring anchors: optional initial, ordered any[], optional final.

      Returns SubstringsFilter

      A substrings Filter node.

      If no part is supplied.

      1.0.2

      substring('cn', { initial: 'a', any: ['b'], final: 'c' }); // (cn=a*b*c)
      substring('mail', { final: '@example.org' }); // (mail=*@example.org)