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

Content deleted Content added
External links: Addressing six-year-old external links tag: indeed, each of these is about one language's handling of strings. Therefore, none is pertinent to an article, in the manner called for by WP:EL, on *comparisons among* the language.
A.Brudz (talk | contribs)
Remove Perl 5 from table, as it doesn't have built-in, but functionality is implemented below
Line 3,087:
| <tt>''string''.strip or ''string''.lstrip or ''string''.rstrip</tt>
|[[Ruby (programming language)|Ruby]]
|-
| <tt>''string'' =~ s/^\s+//r =~ s/\s+$//r</tt>
|[[Perl 5]]
|-
| <tt>''string''.trim</tt>