RosettaCodeData/Task/String-length/Ruby/string-length-3.rb

2 lines
41 B
Ruby

"J̲o̲s̲é̲".grapheme_clusters.length