How to convert ("tc_tx<10>") to tc_tx<10> in SKILL ?

Status
Not open for further replies.

analayout

Advanced Member level 4
Joined
Feb 20, 2007
Messages
101
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,298
Activity points
1,844
Hii Guys ,

i have string in skill as follows
("tc_tx<10>")

Now i have to convert this to tc_tx<10>

Any idea how to do this one in skill language


Regards,
Analayout
 

SKILL CODING

As far as I understood the string is in list. To get the string u can use two commands "nth" or car.

->nth(0 list)

->car(list).
 

Re: SKILL CODING

Thanks Rimsr !!!!!

The car is working But nth i tried but its not working properly


Regards,
Analayout.
 

SKILL CODING

car is for accessing first element of alist. If u want to access any other element we
have to use "nth". JUst go through the pdf for more info on "nth"
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…