Find a substring withing a string...

Lulu of the Lotus-Eaters mertz at gnosis.cx
Sat Jun 21 02:56:07 EDT 2003


|> simple task of testing to see if a substring exists within string.  I

  % python
  Python 2.3a2 (#0, Feb 21 2003, 19:35:57) [EMX GCC 2.8.1] on os2emx
  Type "help", "copyright", "credits" or "license" for more information.
  >>> 'eggs' in 'spam and eggs are tasty'
  True

But you need the latest version.

--
---[ to our friends at TLAs (spread the word) ]--------------------------
Echelon North Korea Nazi cracking spy smuggle Columbia fissionable Stego
White Water strategic Clinton Delta Force militia TEMPEST Libya Mossad
---[ Postmodern Enterprises <mertz at gnosis.cx> ]--------------------------






More information about the Python-list mailing list