lc
The number of characters in a string:
examples/lc.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 lc $hi; say lc $hebrew; say lc $arabic; say lc $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