![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Разбить текстовое поле на части
Андрей гость © (2005-09-16 12:12:00)Есть такой оператор SUBSTRING(Str FROM n1 TO n2). Можно продемонстрировать его на простом примере, а то что то не получается его применить
Плохиш (2005-09-16 12:59:00) [1]
Advantage Expression Engine function that extracts a substring from a character string
Syntax
SUBSTR(, , []) à cSubstring
Parameters
The character string from which to extract a substring. It can be up to 65,535 (64K) bytes, the maximum character string size.
The starting position in . If is positive, it is relative to the leftmost character in . If is negative, it is relative to the rightmost character in the .
The number of characters to be extracted. If omitted, the substring begins at and continues to the end of the string. If is greater than the number of characters from to the end of , the excess numbers are ignored.
И чего тут непонятного?