mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #106613 from Calinou/doc-string-subsequence-contains
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
This commit is contained in:
@@ -440,7 +440,7 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="text" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order.
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order. This is not the same as [method contains].
|
||||
[codeblock]
|
||||
var text = "Wow, incredible!"
|
||||
|
||||
@@ -455,7 +455,7 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="text" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order, [b]ignoring case[/b].
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order, [b]ignoring case[/b]. This is not the same as [method containsn].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_valid_ascii_identifier" qualifiers="const">
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="text" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order.
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order. This is not the same as [method contains].
|
||||
[codeblock]
|
||||
var text = "Wow, incredible!"
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="text" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order, [b]ignoring case[/b].
|
||||
Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order, [b]ignoring case[/b]. This is not the same as [method containsn].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_valid_ascii_identifier" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user