I have used isnumeric() method to check for the strings with only numbers.

While deploying to production i am receiving the following error 'Method not found '.

1 Answer 1


isNumeric() is a new String Method in the Winter '13 release.

Your Production instance has not yet been updated from Summer '12 (API-25) to Winter '13 (API-26) yet but your sandbox has which is why your code will not deploy.

You will need to wait till your Production instance is upgraded to deploy your code. You should have recived an email with the title 'Winter '13 Release Notification' That contains the date. (Our instance is on EU1 and is scheduled for Friday, October 5 - Saturday, October 6, 2012)


Some more Winter '13 release info for sandboxs:


  • Production is still in summer 12,only sandbox has been updated to winter 13. Commented Oct 3, 2012 at 10:47
  • @VipulReddy Yep, this is why you cant can't deploy unfortunately. You will need to wait to deploy your code.
    – Jon Hazan
    Commented Oct 3, 2012 at 10:52
  • thanks for the reply. I had to deploy it today so i checked the string using the REGEX and Patterns for time being. Commented Oct 3, 2012 at 12:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .