Subject | Re: [ib-support] Substring |
---|---|
Author | Helen Borrie |
Post date | 2001-11-29T11:36:39Z |
At 10:26 PM 29-11-01 +1100, I wrote:
this:
select substring('The magicians are assembled here' FROM 5 FOR 5) as sub_5_5 from rdb$database
returned
SUB_5_5
=======
agici
and this:
select substring('The magicians are assembled here' FROM 1 FOR 12) as sub_1_12 from rdb$database
returned
SUB_1_12
========
he magicians
Sorry, dear Claudio.
H.
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>select substring('The magicians are assembled here' FROM 1 FOR 6) from rdb$databaseBUT - wait, wait wait -
>
>returned
>
>SUBSTRING
>=========
>The ma
>
>select substring('The magicians are assembled here' FROM 5 FOR 5) from rdb$database
>
>returned
>
>SUBSTRING
>=========
>magic
this:
select substring('The magicians are assembled here' FROM 5 FOR 5) as sub_5_5 from rdb$database
returned
SUB_5_5
=======
agici
and this:
select substring('The magicians are assembled here' FROM 1 FOR 12) as sub_1_12 from rdb$database
returned
SUB_1_12
========
he magicians
Sorry, dear Claudio.
H.
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________