Comparison of programming languages (string functions): Difference between revisions

Content deleted Content added
Loudogni (talk | contribs)
Loudogni (talk | contribs)
Line 717:
' Example in Visual Basic
"hello" = "world" ' returns false
</syntaxhighlight>
 
<syntaxhighlight lang="perl5">
# Examples in Perl 5
'hello' eq 'world' # returns false
'hello' eq 'hello' # returns true
</syntaxhighlight>
 
<syntaxhighlight lang="perl6">
# Examples in Perl 6
'hello' eq 'world' # returns false
'hello' eq 'hello' # returns true
</syntaxhighlight>