Subject Re: [firebird-support] Substring Function
Author Ivan Prenosil
> From: "Hans Hoogstraat"
> DECLARE VARIABLE I INTEGER;
>
> OUTPUT = SUBSTRING(INPUT FROM 3); // works
> OUTPUT = SUBSTRING(INPUT FROM I); // fails on Token unknown - I

Position can be only constant expression, not variable
(it is known limitation in the current implementation of Substring()).

Ivan