Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16354

Re: remove characters before last occurance of "."

Date 2011-11-28 12:45 -0800
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: remove characters before last occurance of "."
References <9707115.134.1322511872642.JavaMail.geo-discussion-forums@yqeu24>
Newsgroups comp.lang.python
Message-ID <mailman.3107.1322514133.27778.python-list@python.org> (permalink)

Show all headers | View raw


plsullivan1@gmail.com wrote:
> s = GIS.GIS.Cadastral\GIS.GIS.Citylimit
> NeededValue = Citylimit

NeededValue = s.rsplit('.', 1)[1]

~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

remove characters before last occurance of "." plsullivan1@gmail.com - 2011-11-28 12:24 -0800
  Re: remove characters before last occurance of "." Ethan Furman <ethan@stoneleaf.us> - 2011-11-28 12:45 -0800
  Re: remove characters before last occurance of "." Arnaud Delobelle <arnodel@gmail.com> - 2011-11-28 21:08 +0000
    Re: remove characters before last occurance of "." plsullivan1@gmail.com - 2011-11-28 13:13 -0800
    Re: remove characters before last occurance of "." plsullivan1@gmail.com - 2011-11-28 13:13 -0800

csiph-web