From 148348defa0623fcfe1c11fc83a5b5b0fa29f1ce Mon Sep 17 00:00:00 2001
From: Mislav Bradac <mislav.bradac@memgraph.io>
Date: Fri, 25 Aug 2017 10:33:55 +0200
Subject: [PATCH] Document string operators

Reviewers: buda, teon.banek

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D712
---
 docs/user_technical/open-cypher.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/user_technical/open-cypher.md b/docs/user_technical/open-cypher.md
index 4c8678857..9db276940 100644
--- a/docs/user_technical/open-cypher.md
+++ b/docs/user_technical/open-cypher.md
@@ -454,6 +454,17 @@ functions.
  `contains`   | Check if the first argument has an element which is equal to the second argument.
  `all`        | Check if all elements of a list satisfy a predicate.<br/>The syntax is: `all(variable IN list WHERE predicate)`.
 
+#### String Operators
+
+Apart from comparison and concatenation operators openCypher provides special
+string operators for easier matching of substrings:
+
+Operator         | Description
+-----------------|------------
+ a STARTS WITH b | Returns true if prefix of string a is equal to string b.
+ a ENDS WITH b   | Returns true if suffix of string a is equal to string b.
+ a CONTAINS b    | Returns true if some substring of string a is equal to string b.
+
 #### Parameters
 
 When automating the queries for Memgraph, it comes in handy to change only