Perl Primer - University of California, Davis

By now we know that Python likes to start counting with zero 0 as the “first” item as we have seen previously with range() for example. ... array. This is commonly referred to as “slicing” the list/string. ... The code below shows slicing methods for a variable binomial_name = "Drosophila melanogaster" by taking the first 10 letters ... ................
................