summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-03 22:21:24 +0100
committerGitHub <noreply@github.com>2022-02-03 22:21:24 +0100
commitf8f19b313d62b707467c54d245b9c3e0ad53f34f (patch)
tree975f9c64fe51c3809c7c3b2eb0cd46d3563d2bd2 /doc
parent025e778020dde6dcee89f5ae1e2a63ccddc24340 (diff)
parentadbe948bda202209b55249198e1837324e703ddb (diff)
Merge pull request #57562 from AnilBK/string-add-contains
String: Add contains().
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/String.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 1a9b9ccdcc..eeb17c24c0 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -103,6 +103,13 @@
<description>
</description>
</method>
+ <method name="contains" qualifiers="const">
+ <return type="bool" />
+ <argument index="0" name="what" type="String" />
+ <description>
+ Returns [code]true[/code] if the string contains the given string.
+ </description>
+ </method>
<method name="count" qualifiers="const">
<return type="int" />
<argument index="0" name="what" type="String" />