[Zope] Re[2]: [Zope] splitting strings ??
Geir B Hansen
Geir B Hansen <geirh@funcom.com>
Thu, 6 Jan 2000 13:58:02 +0100
on 6. january 2000 Martijn Faassen wrote :
[snip]
MF> I'm not quite sure what you mean by 'the last character of a string, not
MF> using any separators', but 'the last character of a string', I can
MF> answer:
MF> if s is a string, then:
MF> s[-1]
MF> refers to its last character.
thanks.. exactly what i needed..
I'll check out the tutorials on python.org now.. I figure i have to
learn python properly to get the most out of zope..
(and i'll take more care explaining what i mean next time..
I managed to confuse 2 out of 2 people answering me this time.. hmm.. must drink
more coffee, i think..
--
Geir B Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com