Главная страница
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.027 c
2-1127122606
мух
2005-09-19 13:36
2005.10.16
Чтение и запись структуры данных в файл через TFileStream


4-1124203470
s999
2005-08-16 18:44
2005.10.16
TranslateMessage и VK_HOME, VK_END...


9-1117929264
ГеорГ
2005-06-05 03:54
2005.10.16
Как пользоваться SetGammaRamp


1-1127381168
Aleksandr.
2005-09-22 13:26
2005.10.16
Как в RichEdit вносить изменения в текст, не меняя форматирования


8-1116960003
Eraser
2005-05-24 22:40
2005.10.16
Формирование wav файла из данных в фотмате PCM