Quote from
Gaev on March 7, 2024, 4:19 am
@adrianbrookbank
How can you search for \ or " within a variable - can you use ASCII code in visualneoweb like visualneowin?
The equivalent thing to do in VisualNEOWeb is to use the UnicodeToChar command to populate variables with these special characters e.g.
UnicodeToChar 34 [neoDoubleQuotes]
UnicodeToChar 92 [neoDivisionSign]
... then, the StrSearch command would look something like ...
StrSearch "[neoDoubleQuotes]" "[myString]" "[neoDoubleQuotesPosition]"
where [myString] is your variable with these special characters that you want to search ...
In case you need Unicodes for some of the other special characters ...
UnicodeToChar 91 [neoOpen]
UnicodeToChar 93 [neoClose]
UnicodeToChar 124 [neoBar]
UnicodeToChar 13 [neoCR]
UnicodeToChar 34 [neoLF]
UnicodeToChar 9 [neoTab]
For a full list ... https://www.rapidtables.com/code/text/unicode-characters.html ... after you mouse click, the HTML code (e.g. \) gives you the Unicode (92).
@adrianbrookbank
How can you search for \ or " within a variable - can you use ASCII code in visualneoweb like visualneowin?
The equivalent thing to do in VisualNEOWeb is to use the UnicodeToChar command to populate variables with these special characters e.g.
UnicodeToChar 34 [neoDoubleQuotes]
UnicodeToChar 92 [neoDivisionSign]
... then, the StrSearch command would look something like ...
StrSearch "[neoDoubleQuotes]" "[myString]" "[neoDoubleQuotesPosition]"
where [myString] is your variable with these special characters that you want to search ...
In case you need Unicodes for some of the other special characters ...
UnicodeToChar 91 [neoOpen]
UnicodeToChar 93 [neoClose]
UnicodeToChar 124 [neoBar]
UnicodeToChar 13 [neoCR]
UnicodeToChar 34 [neoLF]
UnicodeToChar 9 [neoTab]
For a full list ... https://www.rapidtables.com/code/text/unicode-characters.html ... after you mouse click, the HTML code (e.g. \) gives you the Unicode (92).
luishp has reacted to this post.