Subj : mode parameter in console.strlen()
To   : Digital Man
From : Nightfox
Date : Thu Jun 23 2022 11:43 am

 Re: mode parameter in console.strlen()
 By: Digital Man to Nightfox on Thu Jun 23 2022 10:44 am

>> etc.).. Also, P_NOATCODES might make sense, but I'd think
>> console.strlen() already would not be counting at-codes as part of
>> string length..?

DM> It *does* count at-codes as part of the string. Passing P_NOATCODES would
DM> have no effect.

I was thinking attribute codes when I wrote that..  :P  It makes sense that it would count at-codes as part of the string.

DM> The only checked/used P_* (print) mode flag in console.strlen() is P_UTF8.

I see. Thanks.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com