Вниз
Скачать: 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.45 MB
Время: 0.054 c
8-1116945542
Agent[007]
2005-05-24 18:39
2005.10.16
OpenGl и WinXP


11-1093953154
New
2004-08-31 15:52
2005.10.16
Компиляция на FPC


3-1125416074
Asail
2005-08-30 19:34
2005.10.16
Проблема с TQuery (удаление строк)


1-1127472716
el_bandito
2005-09-23 14:51
2005.10.16
Хук на ключ реестра


2-1125667287
SarDoX
2005-09-02 17:21
2005.10.16
С чего начать?




   Наверх