Subject Substring
Author Roger Pullen
Attempting to use SUBSTRING in Firebird
as part of a SP thus

P1 = SUBSTRING("ABCDEFG" FROM 1 FOR 5)

Problem is it always returns blank. I am not using
it as part of a SELECT clause or anything

Advice?

Roger P