< Script Languages Synopsis < String

Python:

There is nothing like a =~ operator. Use either the regex module (cf. http://www.amk.ca/python/howto/regex/), or a string function. Often, the string's .find() method will do.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.