v5:reference:connection:substr
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:connection:substr [2016/04/10 02:58] – created mnewnham | v5:reference:connection:substr [2016/04/10 16:36] – mnewnham | ||
---|---|---|---|
Line 4: | Line 4: | ||
**From Version 5.21.0-beta-2** | **From Version 5.21.0-beta-2** | ||
== Syntax == | == Syntax == | ||
- | string | + | string |
string $fieldName, | string $fieldName, | ||
integer $offset, | integer $offset, | ||
Line 31: | Line 31: | ||
$data = $db-> | $data = $db-> | ||
</ | </ | ||
+ | |||
+ | ===== Negative Offsets ===== | ||
+ | Not all databases support the use of negative offsets (to return values based on the end of the string), so use in portable applications is not recommended. | ||
v5/reference/connection/substr.txt · Last modified: 2016/04/10 23:42 by mnewnham