i'm not very knowledgeable in the ways of python, but i've found out how to split strings by separators : for example : <dtml-if expr="_.string.split(_['REMOTE_ADDR'],'.')[1] == '71'">etc... how do i reference the *last* character of a string, not using any separators ?? -- Geir B Hansen web-developer/designer geirh@funcom.com http://www.funcom.com