Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-09-21 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls