I am writing a tcl proc where i need find out if a string has “,” (comma) in it or not. If it does then i do a split function on the string(split based on comma).
For example: if the input string is “X is good, Y is good”
How can i find out if the above string contains the “,” character?
Please provide some feedbacks.
I have tries string compare, but it did not work.
Thanks in advance