Main > Knowledge Base > 1C:Enterprise documentation > 1C:Enterprise User Manual > Appendix 1. Data composition system expression language > Operations with strings > LIKE > 1C:Enterprise documentation > 1C:Enterprise User Manual > Appendix 1. Data composition system expression language > Operations with strings > LIKE > 1C:Enterprise documentation > 1C:Enterprise User Manual > Appendix 1. Data composition system expression language > Operations with strings > LIKE

LIKE

This operation checks whether a string matches the specified template.

The value of the LIKE operator is True if the expression value matches the template, and False otherwise.

The following characters in a template have a special meaning:

Any other character represents itself and does not have any additional use. If you need to use one of the special characters as itself, precede it with the ESCAPE keyword.

For example, the following template stands for a substring including the following sequence of characters: the letter A; the letter B; the letter C; a digit; one of the letters a, b, c, or d; an underscore; the letter a; the letter b; the letter c. This sequence can begin anywhere in the string.

"%ABC[0–9][abcd]\_abc%" ESCAPE "\"

Next page: Comparison operations




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.