good day guys! suppose i have a string with a format like so ^a.b.c^ and i want to only get a.b.c . can you teach me a more efficient way to strip the delimiters than my code below? thanks
### line = '^123.456.102345^'
start = line.find ('^')
line = line[(start+1):]
end = line.find ('^')
line = line[:end]
print line
Check out the docs for
str.strip