Getting a unknown word out of a list with no spaces

Alexnb alexnbryan at gmail.com
Thu Jul 17 03:07:40 EDT 2008


Hello

Lets say I have a string:

--a href="/browse/brick"--brick--/a--

The -- needs to be replaced with < or > where applicable. 

and I want the "brick" out of that string (the second brick that is). How
can I get just the "brick" out of that string?
-- 
View this message in context: http://www.nabble.com/Getting-a-unknown-word-out-of-a-list-with-no-spaces-tp18502758p18502758.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list