Skip to content

Commit 69d5f74

Browse files
rivudhkmihaibudiu
authored andcommitted
py: fix typo in string.md
Signed-off-by: rivudhk <rivudhkr@gmail.com>
1 parent d1c9b3b commit 69d5f74

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs.feldera.com/docs/sql/string.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,10 @@ addition to the normal way of `''`.
238238
<code>SUBSTR('Thomas', 3)</code> => <code>omas</code><br></br></td>
239239
</tr>
240240
<tr>
241-
<td><a id="substring"></a><code>SUBSTRING (</code> string <code>[ FROM</code> start <code>] [ FOR</code> count<code> ] )</code></td>
241+
<td><a id="substring"></a><code>SUBSTRING (</code> string <code>FROM</code> position <code> [ FOR</code> count<code> ] )</code></td>
242242
<td>Extracts the substring of string starting at the "start"'th character if that is specified, and stopping after "count" characters if the value is specified. At least one of "start" or "count" must be provided. If "start" is negative, it is replaced with 1. If "count" is negative the empty string is returned. The index of the first character is 1.</td>
243243
<td><code>SUBSTRING('Thomas' from 2 for 3)</code> => <code>hom</code><br></br>
244-
<code>SUBSTRING('Thomas' from 3)</code> => <code>omas</code><br></br>
245-
<code>SUBSTRING('Thomas' for 2)</code> => <code>Th</code></td>
244+
<code>SUBSTRING('Thomas' from 3)</code> => <code>omas</code><br></br></td>
246245
</tr>
247246
<tr>
248247
<td><a id="trim"></a><code>TRIM ( [ LEADING | TRAILING | BOTH ]</code> characters <code>FROM</code> string <code>)</code></td>

0 commit comments

Comments
 (0)