Matching Strings

rshepard-at-appl-ecosys.com rshepard-at-appl-ecosys.com
Fri Feb 9 19:28:12 EST 2007


On 2007-02-10, rshepard at nospam.appl-ecosys.com wrote:

>       if item == selName:

  Slicing doesn't seem to do anything -- if I've done it correctly. I
changed the above to read,

	if item[2:-2] == selName:

but the output's the same.

Rich



More information about the Python-list mailing list