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.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm