Perl Primer - University of California, Davis

where A is the string, and sep the separator. If sep is not provided, Python uses the white space. Examples: Striping a string. A string may have leading or lagging white characters, such as blanks, tabs, or carriage return. It is a good idea to remove those, using the function strip(). ... Note that if the list is empty the loop is not ... ................
................