Checking String Length

Strings do not usually contain NUL (ASCII 0) characters, but if they do you should be aware of a change to the Len() function. ColdFusion 5 (and earlier) returned the length up to the NUL, ColdFusion MX returns the complete string length (even characters after the NUL). (Applies to: ColdFusion MX)

Leave a Reply