mIRC Homepage
Posted By: Raccoon $len(text).bytes - 15/12/18 11:03 PM
Could the $len() identifier get a property .bytes added?

$len(text).bytes would be equivalent to $regex(text,/./g) in behavior,
in that it counts the individual byte characters instead of the UTF encoded (unicode) characters.

A lot of uses of $len() are to determine conformity of length limits (ie, topic length) which are calculated in bytes.
© mIRC Discussion Forums