Visual Basic String Methods Python