jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: slang: UTF-8 and strlen


Günter Milde <milde@xxxxxxxxxxxxxxxxxxxx> wrote:
>Sometimes, you want to switch the behaviour at runtime, based on some value
>and 
> len = strlen(str, foo)
>is simpler than
> if (foo)
>   len = strlen(str)
> else
>   len = strcharlen(str)

I have a hard time imaging a common situation where you would want to
do this.  Do you have a specific example in mind?

Thanks,
--John


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]