Вниз
Скачать: CL | DM;

Разбить текстовое поле на части   Найти похожие ветки 

← →
Андрей гость   (2005-09-16 12:12) [0]

Есть такой оператор SUBSTRING(Str FROM n1 TO n2). Можно продемонстрировать его на простом примере, а то что то не получается его применить


← →
Плохиш ©   (2005-09-16 12:59) [1]

Advantage Expression Engine function that extracts a substring from a character string

Syntax

SUBSTR(<cString>, <nStart>, [<nCount>]) &#224; cSubstring

Parameters

<cString> The character string from which to extract a substring. It can be up to 65,535 (64K) bytes, the maximum character string size.
<nStart> The starting position in <cString>. If <nStart> is positive, it is relative to the leftmost character in <cString>. If <nStart> is negative, it is relative to the rightmost character in the <cString>.
<nCount> The number of characters to be extracted. If omitted, the substring begins at <nStart> and continues to the end of the string. If <nCount> is greater than the number of characters from <nStart> to the end of <cString>, the excess numbers are ignored.


И чего тут непонятного?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.032 c
2-1126692764
Маклауд
2005-09-14 14:12
2005.10.16
Где arctg можно взять?


5-1102414231
Anatoly
2004-12-07 13:10
2005.10.16
Строковое свойство с выпадающим списком


3-1125959367
DimonS
2005-09-06 02:29
2005.10.16
Что можно сделать с зарезервированным словом в запросе?


2-1127019464
intel
2005-09-18 08:57
2005.10.16
база данных


1-1127814627
BaxTMaH
2005-09-27 13:50
2005.10.16
Клавиша Backspace




   Наверх