Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: about string data process


From   Orvalho Joaquim Augusto <[email protected]>
To   [email protected]
Subject   Re: st: about string data process
Date   Fri, 20 Mar 2009 19:54:50 +0200

Check this function:
strmatch()

Caveman


醫事室明傑ntu wrote:
> hi :
> i have a probum on processing sting data
> if i have more of condition
> for example
> in sql query i just  wirte
> col  like any ('ax%','bcd%','Def%',........)
> in stata
> just can do thant ?
> or just like  thant
> substr(col1,1,2) ='ax' | substr(col1,1,3)='bcd' |......
> 
> because that so long need to type
> 
> 
> 
> 
> 醫療事務室 林明傑
> tel 2715
> mail:[email protected]

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index