Python Extract Part Of String Python Documentation