calliper_143911
Oct 29, 2014Nimbostratus
Find whitespace in string
Hi,
I have a string: set stringvar ["apple", "pear", "tomato" "grape", "banana", "strawberry"]
How can I find the position of the double-space between tomato and grape? When I try: [string first {" "} $stringvar] It returns -1. I've also tried { } and {\" \"}
Many thanks.