- May
- 399
- 4
Hello everyone,
I seem to be having issues with @Words not returning correctly if the item is quoted. Am I using @Words incorrectly or is there an issue with it? This is obvious enough that I would have assume someone else would have come across it. I did find a post from last year where Vince had some concerns with @Words working correctly.
The same seems to occur with @Fields. It seems as if the first abc is getting dropped if there are quotes.
Thanks for your help.
Michael
I seem to be having issues with @Words not returning correctly if the item is quoted. Am I using @Words incorrectly or is there an issue with it? This is obvious enough that I would have assume someone else would have come across it. I did find a post from last year where Vince had some concerns with @Words working correctly.
Code:
TCC 22.00.39 x64 Windows 10 [Version 10.0.16299]
TCC Build 39 Windows 10 Build 16299
D:\Users\Michael>echo %@Words[abc]
1
D:\Users\Michael>echo %@Words[abc xyz]
2
D:\Users\Michael>echo %@Words["abc"]
0
D:\Users\Michael>echo %@Words["abc xyz"]
1
The same seems to occur with @Fields. It seems as if the first abc is getting dropped if there are quotes.
Thanks for your help.
Michael