Ascii value of a char field
Posted in 2001
Topics: General Discussion
Hello all, Is there any function in Informix which will give the ascii value of each letter in a character field or a character string? Thanks in advance. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Tony Woods wrote: > Is there any function in Informix which will give the ascii value of each > letter in a character field or a character string? In I4GL, there is the ORD() function that does that. I don't know of anywhere else that provides it specifically, though it is easy enough to do in the C part of ESQL/C, for example. With IDS and Foundation, it would be easy enough to write a simple UDR that did the job. -- Yours, Jonathan Leffler (Jonathan.Leffler@Informix.com) #include <disclaimer.h> Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN "I don't suffer from insanity; I enjoy every minute of it!"