Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 browsing the Monastery: (7)
As of 2014-12-20 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls