Open topic with navigation

# LENGTH

The `LENGTH` field specifier (case sensitive) allows you to find documents in which a specified field contains a number of characters that falls within the inclusive range of two numbers specified by you.

## Format

    FieldText=LENGTH{yourNumbers}:yourFields

`yourNumbers` | Two numbers separated by a comma (there must be no space before or after the comma). A document returns only if the number of characters contained in one of `yourFields` falls within the inclusive range of the specified numbers.
`yourFields` | One or more fields. A document returns only if it contains one of these fields, and if the number of characters that this field contains falls within the inclusive range of `yourNumbers`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=LENGTH{10,20}:LABEL

A document's `LABEL` field value must be between 10 and 20 characters (inclusive) long for this document to be returned.

    FieldText=LENGTH{1,7}:SLOGAN:LEMA

The `SLOGAN` or `LEMA` field value must be between 1 and 7 characters (inclusive) long for the document to return.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm