You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Returns the numeric code of the first character of the argument. In UTF8 encoding, returns the Unicode code point of the character. In other multibyte encodings, the argument must be an ASCII character. Returns 0 if the string is empty.</td>
122
+
<td>Returns the numeric code of the first character of <code>string</code>. In UTF8 encoding, returns the Unicode code point of the character. In other multibyte encodings, the argument must be an ASCII character. Returns 0 if the string is empty.</td>
<td><a id="char_length"></a><code>CHAR_LENGTH(string)</code> or <code>CHARACTER_LENGTH(string)</code> or <code>LENGTH(string)</code> or <code>LEN(string)</code></td>
127
-
<td>Returns number of characters in the string.</td>
127
+
<td>Returns number of characters in <code>string</code>.</td>
<td>Returns a string containing the character with the given code. If the code is incorrect (e.g., negative), the result is an empty string.</td>
132
+
<td>Returns a string containing the character numbered <code>integer</code>. If the code is incorrect (e.g., negative), the result is an empty string.</td>
133
133
<td><code>chr(65)</code> => <code>A</code></td>
134
134
</tr>
135
135
<tr>
@@ -144,40 +144,40 @@ addition to the normal way of `''`.
<td>Converts the first letter of each word to upper case and the rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters.</td>
147
+
<td>Converts the first letter of each word in <code>string</code> to upper case and the rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters.</td>
<td>Converts the first letter of each word to upper case and the rest to lower case. Words are sequences of characters separated by spaces.</td>
152
+
<td>Converts the first letter of each word in <code>string</code> to upper case and the rest to lower case. Words are sequences of characters separated by spaces.</td>
<td><a id="overlay"></a><code>OVERLAY ( string PLACING newsubstring FROM start [ FOR remove ] )</code></td>
175
-
<td>Replaces the substring of string that starts at the start'th character and extends for remove characters with newsubstring. If count is omitted, it defaults to the length of newsubstring. If 'start' is not positive, the original string is unchanged. If 'start' is bigger than the length of 'string', the result is the concatenation of the two strings. If 'remove' is negative it is considered 0.</td>
175
+
<td>Replaces the substring of <code>string</code> that starts at the <code>start</code>'th character and extends for <code>remove</code> characters with <code>newsubstring</code>. If <code>count</code> is omitted, it defaults to the length of <code>newsubstring</code>. If <code>start</code> is not positive, the original string is unchanged. If <code>start</code> is bigger than the length of <code>string</code>, the result is the concatenation of the two strings. If <code>remove</code> is negative it is considered 0.</td>
176
176
<td><code>overlay('Txxxxas' placing 'hom' from 2 for 4)</code> => <code>Thomas</code></td>
177
177
</tr>
178
178
<tr>
179
179
<td><a id="position"></a><code>POSITION(substring IN string)</code></td>
180
-
<td>Returns the first Unicode character index of the specified substring within string, or zero if it's not present. First character has index 1.</td>
180
+
<td>Returns the first Unicode character index of <code>substring</code> within <code>string</code>, or zero if it's not present. First character has index 1.</td>
181
181
<td><code>position('om' in 'Thomas')</code> => <code>3</code></td>
182
182
</tr>
183
183
<tr>
@@ -191,7 +191,7 @@ addition to the normal way of `''`.
This function uses 1-based indexing. It extracts the <code>n</code>'th part of the string by splitting it at each occurrence of the delimiter.
223
+
This function uses 1-based indexing. It extracts the <code>n</code>'th part of <code>string</code> by splitting it at each occurrence of <code>delimiter</code>.
224
224
<ul>
225
-
<li><code>n = 1</code> refers to the first part of the string after splitting.</li>
225
+
<li><code>n = 1</code> refers to the first part of <code>string</code> after splitting.</li>
226
226
<li><code>n = 2</code> refers to the second part, and so on.</li>
227
-
<li>If <code>n</code> is negative, it returns the <code>abs(n)</code>'th part from the end of the string.</li>
227
+
<li>If <code>n</code> is negative, it returns the <code>abs(n)</code>'th part from the end of <code>string</code>.</li>
228
228
<li>If <code>n</code> is out of bounds, it returns an empty string.</li>
229
229
</ul>
230
230
</td>
@@ -236,24 +236,24 @@ addition to the normal way of `''`.
<td>Extracts the substring of string starting at the "start"'th character, and stopping after "length" characters if the value is specified. If "start" is negative, the first character is chosen counting backwards from the end of the string. If "count" is negative the empty string is returned. The index of the first character is 1.</td>
239
+
<td>Extracts the substring of <code>string</code> starting at the <code>start</code>'th character, and stopping after <code>length</code> characters if the value is specified. If <code>start</code> is negative, the first character is chosen counting backwards from the end of <code>string</code>. If <code>count</code> is negative the empty string is returned. The index of the first character is 1.</td>
<td>Extracts the substring of string starting at the "start"'th character, and stopping after "count" characters if the value is specified. If "start" is negative, only max(count + start - 1, 0) characters are returned. If "count" is negative the empty string is returned. The index of the first character is 1.</td>
245
+
<td>Extracts the substring of <code>string</code> starting at the <code>start</code>'th character, and stopping after <code>count</code> characters if the value is specified. If <code>start</code> is negative, only <code>max(count + start - 1, 0)</code> characters are returned. If <code>count</code> is negative the empty string is returned. The index of the first character is 1.</td>
246
246
<td><code>SUBSTRING('Thomas' from 2 for 3)</code> => <code>hom</code><br></br>
247
247
<code>SUBSTRING('Thomas' from 3)</code> => <code>omas</code><br></br></td>
248
248
</tr>
249
249
<tr>
250
250
<td><a id="trim"></a><code>TRIM ( [ LEADING | TRAILING | BOTH ]</code> characters <code>FROM</code> string <code>)</code></td>
251
-
<td>Remove the specified characters from the specified ends of the string argument</td>
251
+
<td>Remove <code>characters</code> from the specified ends of <code>string</code></td>
252
252
<td><code>TRIM(both 'xyz' from 'yxTomxx')</code> => <code>Tom</code><br></br><code>TRIM(leading 'xyz' from 'yxTomxx')</code> => <code>Tomxx</code></td>
If pattern does not contain percent signs or underscores, then the
267
+
If <code>pattern</code> does not contain percent signs or underscores, then the
268
268
pattern only represents the string itself; in that case `LIKE` acts
269
-
like the equals operator. An underscore (`_`) in pattern stands for
269
+
like the equals operator. An underscore (`_`) in <code>pattern</code> stands for
270
270
(matches) any single character; a percent sign (`%`) matches any
271
271
sequence of zero or more characters.
272
272
@@ -286,7 +286,7 @@ must start and end with a percent sign.
286
286
To match a literal underscore or percent sign without matching other
287
287
characters, the respective character in pattern must be preceded by
288
288
the escape character. The default escape character is the backslash
289
-
but a different one can be selected by using the ESCAPE clause. To
289
+
but a different one can be selected by using the <code>ESCAPE</code> clause. To
290
290
match the escape character itself, write two escape characters. The
291
291
escape character cannot be one of the special pattern characters `_`
292
292
or `%`.
@@ -313,7 +313,7 @@ string `ILIKE` pattern
313
313
314
314
string `NOT ILIKE` pattern
315
315
316
-
The `ILIKE` expression performs a case-insensitive pattern match. If the pattern does not contain percent signs or underscores, then the pattern represents the string itself, and `ILIKE` acts like the equals operator, ignoring character case. An underscore (`_`) in the pattern matches any single character, while a percent sign (`%`) matches any sequence of zero or more characters.
316
+
The `ILIKE` expression performs a case-insensitive pattern match. If <code>pattern</code> does not contain percent signs or underscores, then the pattern represents the string itself, and `ILIKE` acts like the equals operator, ignoring character case. An underscore (`_`) in <code>pattern</code> matches any single character, while a percent sign (`%`) matches any sequence of zero or more characters.
0 commit comments