Processing snmp data...
Adam Langley
usenet at imperialviolet.org
Thu Nov 28 19:33:24 EST 2002
On Thu, 28 Nov 2002 13:34:42 +0000, Meehan, Francois wrote:
> enterprises.311.1.1.3.1.1.5.1.4.13.95.84.111.116.97.108.58.95.84.111.116.97.
> 108 = 5540
>
> I just need what is after the "=" sign.
"abc=def".split("=")[1] returns "def". Try that.
Beware that your strings look like that they have spaces
around the "=". You may wish to strip them.
(hint "abc "[:-1] -> "abc")
More information about the Python-list
mailing list