Archives for: "September 2011, 12"
There is no "Contains" in Javascript string
I used "Contains" method in C# whether the strings contains a keyword. For example: Codestring str = "string";if(str.Contains("str")){Console.Write("OK");} There is no such method, but you can "indexOf". Codevar str = "string";if(str.indexOf("str")!=… more »
Tags: how to