I am doing a program in which I want to allow my user to keep keying in
until they put semicolon then the prompt will process the data. It is
something like mysql way. for example
I want to have something like this.
the other question, how can I read the last char as char in a string
because it keeps returning the ASCII value
str = “text here;”
len = str.len
semicolon = str[len - 1]
this gives me the ascii value.