Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
wcmatch question
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: wcmatch question (Read 1300 times)
0 Members and 1 Guest are viewing this topic.
csgoh
Newt
Posts: 176
wcmatch question
«
on:
July 07, 2016, 03:58:31 AM »
I use "\U+00B2" for superscript 2 usually for meter square m2.
I am wondering how to check for its existence of superscript or any other character codes using \U+ .
Using (wcmatch string "*'\+00B2") returns nil.
Thanks in advance.
Logged
roy_043
Water Moccasin
Posts: 1895
BricsCAD 18
Re: wcmatch question
«
Reply #1 on:
July 07, 2016, 05:25:51 AM »
Code:
[Select]
(setq str "12m\U+00B2")
(wcmatch str "*\U+00B2*") => T
Logged
csgoh
Newt
Posts: 176
Re: wcmatch question
«
Reply #2 on:
July 07, 2016, 05:57:51 AM »
Much appreciated Roy.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
wcmatch question