What is Perl index Function? Description This function returns the position of the first occurrence of SUBSTR in STR, starting at the beginning (starting at zero), or from POSITION if specified.

138

Man kan även skapa en funktion på följande vis.