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

Content deleted Content added
Equality: Perl 6 is same as Perl 5 in this respect
Find: Add Perl 6 section
Line 741:
|-
| <code>index(''string'',''substring''«,''startpos''»)</code>
|[[Perl 5]]
|returns −1
|-
| <code>index(''string'',''substring''«,''startpos''»)</code> <br /> <code>''string''.index(''substring'',«,''startpos''»)
|[[Perl 6]]
|returns Nil
|-
| <code>instr(«''startpos'',»''string'',''substring'')</code>