Subject | RE: [firebird-support] Removing trailing spaces from varchar |
---|---|
Author | Bc. Jirí Cincura |
Post date | 2005-07-29T10:22:22Z |
yaedos2000 wrote (on Friday, July 29, 2005 12:11 PM):
It's originally from IB, but it should work (because it's in distribution)
:).
--
Bc. Jirí Cincura
http://www.ID3renamer.com/
ICQ: 314711544; Yahoo!: x2develop
http://photo.cincura.net/
> Hi, is there a way to remove trailing spaces from a varchar, preferablyI think there's UDF in FB distribution with ltrim, rtrim, ... functions.
> using a trigger?
>
> For example:
>
> ID = 'XYZ ';
>
> should be converted to: ID = 'XYZ';
>
> Are there any functions for doing this?
It's originally from IB, but it should work (because it's in distribution)
:).
--
Bc. Jirí Cincura
http://www.ID3renamer.com/
ICQ: 314711544; Yahoo!: x2develop
http://photo.cincura.net/