Geometrifying Trigonometry NARRAYS(C) Numbering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Experts,
This "HP∞HPóHPöHPòHP" is a Number of a particular GTNs(C) i.e. Geometrifying Trigonometry NARRAYS(C). For some kind of work I need to extract a combination from the Number string. So I am trying like this.....(To Extract first two Letter with Symbol i.e. "HP∞")
(setq TXT "HP∞HPóHPöHPòHP")
(substr TXT 1 3)
But using the above syntax I am getting "HP\\".
If I use ...
(substr TXT 1 9)
Then I am getting "HP∞". Even if I am checking string Length by (strlen TXT) it gives me "20" while its actual string length is "14". If I remove "∞" and check the string length then I am getting the string length "13".
Again if I insert the TXT at any co-ordinate like...
(command "text" "J" "BL" "_none" "0,0,0" "" "" TXT) or any other way
The TXT is placed normally...
But if I want to get the TXT value by user selection or programmatically like....
(setq txt_val (vla-get-TextString (vlax-ename->vla-object (car(entsel))))) or
(setq txt_val (vla-get-TextString (vlax-ename->vla-object (entlast))))
I am getting "HP8HPóHPöHPòHP"
Simply if I remove/replace the "∞" with any other symbol then every thing going smooth.
So advice me How can I manipulate the Symbol "∞".
Debashis Bhunia
Co-Founder of Geometrifying Trigonometry(C)
________________________________________________
Walking is the First step of Running, Technique comes Next....