Possible Duplicate:
Can I add custom methods/attributes to built-in Python types?
Throughout using Python I have seen many things that can be used on strings such as .lower() or .startswith() or .endswith(), however, I am unsure on how to make functions that act similar to it, as what I thought of would have to use a class that passes the string to the function, and I simply want to do something like "the string".myfunc() instead of MyClassObjWithString.myfunc().
Is there any way to make functions like this?