thelordoftherings
Programmer
Hello,
I have a String at this format: 1,2,3,4...
I would like to test if this String contains a certain int inside it. How can I do it without splitting the String to an Array by "," and go over it each time I want to check? Can someone please show me how to do it in regexp?
I have a String at this format: 1,2,3,4...
I would like to test if this String contains a certain int inside it. How can I do it without splitting the String to an Array by "," and go over it each time I want to check? Can someone please show me how to do it in regexp?