left

Generic Description

Returns the leftmost characters from a string. It is documented separately because text normalization and slicing often become grouping keys, search inputs, or exported identifiers.

Simple example:

RETURN left('Incident Review', 8) AS prefix

Consumer-Level Explanation

Use it for fixed-width prefixes such as account families, region codes, or compact labels. Prefer this function when the text operation is part of the query contract and should be visible during review.

More Detailed Explanation

left runs inside the row pipeline, which makes text cleanup, extraction, and grouping keys visible to Nexyron instead of hidden in application code. That is especially important for imported document metadata, labels, and identifiers that feed later matching or indexing.

Advanced Example

This example applies left while shaping document metadata, so text cleanup is part of the auditable query rather than an application-side afterthought.

MATCH (d:Document)
RETURN d.title AS title, left(d.title, 3) AS short_code
ORDER BY short_code

Real Use Cases

Real Limitations And Tradeoffs