- Subject: Re: slang: UTF-8 and strlen
- From: "John E. Davis" <davis>
- Date: Mon, 12 May 2003 10:19:36 -0400
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]