leong1221 Posted September 10, 2017 Share Posted September 10, 2017 Hi guys, Is there anyway to add string to string? For example: Command: !number1 (my lisp have already set number1 as 001) "001" (return 001 as set) Now I want to add SC to 001 to be SC001, what function should I look at? Thanks Leo Quote Link to comment Share on other sites More sharing options...
rlx Posted September 10, 2017 Share Posted September 10, 2017 Welcome on CadTutor Leong1221 Use strcat : (strcat "SC" number1) gr. Rlx Quote Link to comment Share on other sites More sharing options...
leong1221 Posted September 12, 2017 Author Share Posted September 12, 2017 Thanks Rlx! How could I missed this function! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.