I want to search a string in each line of a list, it will match every case of UP/LOW combination possible
For example: If i type in "all" and it will search "all" "All "ALL" "aLL" "aLl" ... etc. It works like advanced search in text document i think.
More detail : if 'all'
was input, then any of these strings appear in that line will return FOUNDED : 'all', 'alL', 'All', 'ALL', 'aLL', 'aLl', 'AlL', 'ALl'
Here is how i done with correct string find
string = "all"
line[i].find(string)
if the line
was "ALL" , the result was not found
, so this is a limitation.