@Schal330 to Programmer [email protected] • 3 months agoIt must be a silent Rimagemessage-square127arrow-up1875arrow-down131
arrow-up1844arrow-down1imageIt must be a silent R@Schal330 to Programmer [email protected] • 3 months agomessage-square127
minus-square@cypherix93linkEnglish11•3 months ago"strawberry".split('').filter(c => c === 'r').length
"strawberry".split('').filter(c => c === 'r').length
len([c if c == ‘r’ for c in “strawberry”])
deleted by creator
'strawberry'.match(/r/ig).length
(\r (frequencies “strawberry”))
deleted by creator
A zero indexed array doesn’t have a different length ;)