What I'm looking for is, if inserted text contains chars and integer and if these not in List chars return false
Example List:
List = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
And the function should have 1 value like :
check(Text) ->
List = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"],
if the inserting text like is :
check("you should have 10 point to do this")
should return true cuz every thing in text exists within List
and if the inserting text like is :
check("you should + have ....")
should return false cuz " + " & " . " not exists within List.