10 Replies Latest reply on Nov 1, 2006 1:11 AM by 807598

    How to find if a particular string ends with 0?

    807598
      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