I have a string that looks a little something like this:
case0:
string0 = ' '
case1:
string1 = '\n\n'
case2:
string2 = '\n\n\n \n \n\n\n\n'
case3:
string3 = ' test string12!. \n\n'
case4:
string4 = 'test string12!.'
I wish to allow only circumstances as seen in case 3 and case 4.
Using isprintable() would not allow case 3 to pass and allow case 0 to pass.
How do I detect if the string looks blank (e.g. in case 0, case 1 and case 2)?