Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String LENGTH

Status
Not open for further replies.

ParflaGush

Programmer
Jun 1, 2004
1
US
Using the LENGTH(char) function clips off any trailing spaces. Is there an alternative to LENGTH that does not remove the spaces?
 
Nope, informix always pads strings with spaces (for some unfathomable reason).
 
What are you trying to do ?

In fact, length() return the length of the string without trailing.
The length of the full string is the length you gave in the define clause... for a char variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top