| Subject | Re: [firebird-support] Substring Function |
|---|---|
| Author | Ivan Prenosil |
| Post date | 2003-10-11T01:06:42Z |
> From: "Hans Hoogstraat"Position can be only constant expression, not variable
> DECLARE VARIABLE I INTEGER;
>
> OUTPUT = SUBSTRING(INPUT FROM 3); // works
> OUTPUT = SUBSTRING(INPUT FROM I); // fails on Token unknown - I
(it is known limitation in the current implementation of Substring()).
Ivan