2 Replies Latest reply: Jan 27, 2017 2:19 PM by s Walter RSS

    Whitespace problem - findOneOf

    s Walter

      Hi,

       

      i don´t understand this phenomenon. The first expression shows 0, the second 5. Please, see attachement.

       

      //FindOneOf('text ',':&%$ !"§/') // = 0

      FindOneOf('text ',':&%$ !"§/') // = 5

       

      I copy the whitespace from the first expression into notepad++ and "show all character", but there is nothing to see what could explain it.

       

      Does somebody has any idea?

       

      Regards,

      sam