Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# Case insensitive Contains(string)

// To test if the string paragraph contains the string word
culture.CompareInfo.IndexOf(paragraph, word, CompareOptions.IgnoreCase) >= 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Case #insensitive
ADD COMMENT
Topic
Name
3+6 =