Find First Index Of Character In String Python Functions Vs Methods