-index()- remains available under version control.
The principle appears to be that the names of string functions should
include the substring -str-. But what is a string function? In Stata
-real()- takes a string argument and yields a numeric result, but its
name does not match -strtotreal()- used in Mata.
Also, -indexnot()- is an anomaly, as its name now does not match its
sibling -strpos()-. I surmise that to be oversight.
Well, nobody's perfect ("Some like it hot", last line).
Nick
[email protected]
Newson, Roger B
I have a Stata 10 query on string functions. Why is the string function
-index()- no longer available in Stata 10 (as it was in Stata 9 and
several previous versions)? I would be surprised if I couldn't find
substitutes for it on a case-by-case basis, but was there any special
reason for dropping it?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/