Subject | Re: [firebird-support] Re: Length of String < 10 in SQL Statement - how? |
---|---|
Author | Magnus Titho |
Post date | 2005-01-27T09:26:26Z |
hi_feroz schrieb am 27.01.2005 10:17:
Text := 'Hello';
In Delphi:
copy(Text, 2, 1) -> 'e'
In SQL:
substring(Text from 2 for 1) -> 'e'
Magnus
>Er, not really.
>
> In Delphi index starts at 0.
Text := 'Hello';
In Delphi:
copy(Text, 2, 1) -> 'e'
In SQL:
substring(Text from 2 for 1) -> 'e'
Magnus