int(myString)
str(myInt)
str(0b11010010) # Gives 210
int("10", base=3) # Gives 3
# Check type
type(int("10"))theword = theword.replace("'", '"')theword = theword.strip('.')myString[2:8]if word in text:# string.find(s, sub[, start[, end]])
# Return -1 if not found
myString.find('s')
# OR
# string.index(s, sub[, start[, end]])
# raises an error ("traceback") if not found
myString.index('s')
# See Python Array