uc
The number of characters in a string:
examples/uc.pl
use strict; use warnings; use 5.010; my $hi = 'HeLlo'; my $hebrew = 'שלום'; my $arabic = 'سلام'; my $smiley = '😃'; say $hi; say $hebrew; say $arabic; say $smiley; say uc $hi; say uc $hebrew; say uc $arabic; say uc $smiley;
See also the explanation in String functions: length, lc, uc, index, substr.
Published on 2020-05-16
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post