10 Replies Latest reply: Oct 31, 2006 7:11 PM by 807598 RSS

    How to find if a particular string ends with 0?

      I am not able to use endsWith
      My string has the name boardString and I want to check if it has 0 at its end
      please tell me the correct syntax

      I tried
      if(!boardInput.endsWith(boardString '0'))

      or should use regular expressions $... please tell