Perl Primer - University of California, Davis

String[-i] is the character at position i from the right side of the string. Slicing is a very useful and heavily used function in Python: it allows you to extract specific substrings of a string. The syntax for slicing is: ................
................