[Core] Add case-insensitive String::containsn
This commit is contained in:
@ -126,7 +126,7 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="contains" qualifiers="const" keywords="includes, has">
|
||||
<method name="contains" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="what" type="String" />
|
||||
<description>
|
||||
@ -142,7 +142,15 @@
|
||||
GD.Print("team".Contains("I")); // Prints false
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
If you need to know where [param what] is within the string, use [method find].
|
||||
If you need to know where [param what] is within the string, use [method find]. See also [method containsn].
|
||||
</description>
|
||||
</method>
|
||||
<method name="containsn" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="what" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the string contains [param what], [b]ignoring case[/b].
|
||||
If you need to know where [param what] is within the string, use [method findn]. See also [method contains].
|
||||
</description>
|
||||
</method>
|
||||
<method name="count" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user