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

Content deleted Content added
Add references "substr5" and "substr6" for use with Perl 6
substring: Add Perl 6 section
Line 2,602:
|-
| <code>substr(''string'', ''startpos'', ''numChars'')</code>
|[[AWK]] (changes string), [[Perl 5]],<ref name="substr2"/><ref name="substr4"/> [[PHP]]<ref name="substr2"/><ref name="substr4"/>
|-
| <code>substr(''string'', ''startpos'', ''numChars'')</code> <br /> <code>''string''.substr(''startpos'', ''numChars'')</code>
|[[Perl 6]]<ref name="substr5"/><ref name="substr6"/>
|-
| <code>substr(''string'', ''startpos'' «,''numChars'', ''padChar''»)</code>