python - Is there a ways to take out the artist and song from the array? -
python - Is there a ways to take out the artist and song from the array? -
suppose have type of array (sonny rollins|who cares?|sonny rollins , friends|jazz| various|, westminster philharmonic orchestra conducted kenneth alwyn|curse of werewolf: prelude|horror!|soundtrack|1996)
. there possible way take out sonny rollins , cares array?
assuming array string array of x strings, can create substring index of sec instance of '|' end of string.
python python-2.7
Comments
Post a Comment