|
161 | 161 | <param index="1" name="from" type="int" default="0" /> |
162 | 162 | <param index="2" name="to" type="int" default="0" /> |
163 | 163 | <description> |
164 | | - Returns the number of occurrences of the substring [param what] between [param from] and [param to] positions (case-sensitive). If [param to] is 0, the search continues until the end of the string. See [method countn] for a case-insensitive version. |
| 164 | + Returns the number of case-sensitive occurrences of the substring [param what] between [param from] and [param to] positions. If [param to] is 0, the search continues until the end of the string. See [method countn] for a case-insensitive version. |
165 | 165 | </description> |
166 | 166 | </method> |
167 | 167 | <method name="countn" qualifiers="const"> |
|
215 | 215 | <param index="0" name="what" type="String" /> |
216 | 216 | <param index="1" name="from" type="int" default="0" /> |
217 | 217 | <description> |
218 | | - Returns the index of the [b]first[/b] occurrence of [param what] in this string, or [code]-1[/code] if there are none (case-sensitive). The search's start can be specified with [param from], continuing to the end of the string. See [method findn] for a case-insensitive version. |
| 218 | + Returns the index of the [b]first[/b] case-sensitive occurrence of [param what] in this string, or [code]-1[/code] if there are none. The search's start can be specified with [param from], continuing to the end of the string. See [method findn] for a case-insensitive version. |
219 | 219 | [codeblocks] |
220 | 220 | [gdscript] |
221 | 221 | print("Team".find("I")) # Prints -1 |
|
441 | 441 | <return type="bool" /> |
442 | 442 | <param index="0" name="text" type="String" /> |
443 | 443 | <description> |
444 | | - Returns [code]true[/code] if all characters of this string can be found in [param text] in their original order (case-sensitive). This is not the same as [method contains]. See [method is_subsequence_ofn] for a case-insensitive version. |
| 444 | + Returns [code]true[/code] if all characters of this string can be found in [param text] (case-sensitive) in their original order. This is not the same as [method contains]. See [method is_subsequence_ofn] for a case-insensitive version. |
445 | 445 | [codeblock] |
446 | 446 | var text = "Wow, incredible!" |
447 | 447 |
|
|
790 | 790 | <param index="0" name="what" type="String" /> |
791 | 791 | <param index="1" name="forwhat" type="String" /> |
792 | 792 | <description> |
793 | | - Replaces all occurrences of [param what] inside the string with the given [param forwhat] (case-sensitive). See [method replacen] for a case-insensitive version. |
| 793 | + Replaces all case-sensitive occurrences of [param what] inside the string with the given [param forwhat]. See [method replacen] for a case-insensitive version. |
794 | 794 | </description> |
795 | 795 | </method> |
796 | 796 | <method name="replace_char" qualifiers="const"> |
|
828 | 828 | <param index="0" name="what" type="String" /> |
829 | 829 | <param index="1" name="from" type="int" default="-1" /> |
830 | 830 | <description> |
831 | | - Returns the index of the [b]last[/b] occurrence of [param what] in this string, or [code]-1[/code] if there are none (case-sensitive). The search's start can be specified with [param from], continuing to the beginning of the string. This method is the reverse of [method find]. See [method rfindn] for a case-insensitive version. |
| 831 | + Returns the index of the [b]last[/b] case-sensitive occurrence of [param what] in this string, or [code]-1[/code] if there are none. The search's start can be specified with [param from], continuing to the beginning of the string. This method is the reverse of [method find]. See [method rfindn] for a case-insensitive version. |
832 | 832 | </description> |
833 | 833 | </method> |
834 | 834 | <method name="rfindn" qualifiers="const"> |
|
0 commit comments