Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.10.16;
Скачать: 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 вся ветка

Текущий архив: 2005.10.16;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.049 c
9-1117733233
.cpp
2005-06-02 21:27
2005.10.16
Волшебная точка


14-1127233665
ocean
2005-09-20 20:27
2005.10.16
Бывает ли такое?


6-1119616065
val_pov
2005-06-24 16:27
2005.10.16
Проблема с докачкой не достающих фрагментов для битого файла


2-1126637415
_zx
2005-09-13 22:50
2005.10.16
и ещё один простой вопрос


3-1126000529
Ragazor
2005-09-06 13:55
2005.10.16
FIREBIRD EMBEDED - backup, restore, valid.check