For example, consider ID = 3 and beta = "eight,nine,ten,eleven,twelve". How could I extract the substring between the 3rd and 4th commas? (Answer: "eleven")
Code:
clear input ID strL beta 1 "one,two,three,four" 2 "five,six,seven" 3 "eight,nine,ten,eleven,twelve" end
Many thanks!
No comments:
Post a Comment