L
leifwessman
Hi!
How do I find out if a string is uppercase only? I've searched cpan for
a suitable module, but found nothing.
This is what I'm looking for:
is_uppercase("UPPERCASE ÅÄÖ") # TRUE
is_uppercase("UPPERCaSE ÅÄÖ") # FALSE
Thanks for any input on how to create such a method.
Leif
Note: ÅÄÖ is swedish characters.
How do I find out if a string is uppercase only? I've searched cpan for
a suitable module, but found nothing.
This is what I'm looking for:
is_uppercase("UPPERCASE ÅÄÖ") # TRUE
is_uppercase("UPPERCaSE ÅÄÖ") # FALSE
Thanks for any input on how to create such a method.
Leif
Note: ÅÄÖ is swedish characters.