is this the right way or is there any other better way???
-
hello everyone!!! i am working on some application. i have to deal with strings. the string may contain the ASCII characters or some other values. i need to check if the string contains ascii characters. for that purpose, i am parsing the string, taking each character at once, checking whether it lies in the ascii range and then print the string only if it has ascii characters. i think this is the right procedure. but i am afraid that the performance is hampered when i am dealing with large number of lengthy strings. so, i wanted to know if there is any other better way. thanks in advance...
vijay.
-
hello everyone!!! i am working on some application. i have to deal with strings. the string may contain the ASCII characters or some other values. i need to check if the string contains ascii characters. for that purpose, i am parsing the string, taking each character at once, checking whether it lies in the ascii range and then print the string only if it has ascii characters. i think this is the right procedure. but i am afraid that the performance is hampered when i am dealing with large number of lengthy strings. so, i wanted to know if there is any other better way. thanks in advance...
vijay.