Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to check if a string contains more than 1 character?

by graff (Chancellor)
on May 03, 2013 at 01:50 UTC ( #1031815=note: print w/replies, xml ) Need Help??


in reply to How to check if a string contains more than 1 character?

I'm sorry, but I think the question is too vague. How do you define "1 character"?

Would you consider ṩ to be one character? How about ẹ̇? (Note the presence of the dot marks above and below each letter.)

According to the current Unicode Standard (v6.2), the former should be just one character, while the latter should be two characters. (Of course, both could be expressed using as many as three characters.)

  • Comment on Re: How to check if a string contains more than 1 character?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031815]
help
Chatterbox?
[marto]: what a day, running on 2 hours broken sleep. sick twins -- :P

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-11-18 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?