[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: String problem.
This will not work for the problem stated,
as the digit "0" can occur as part of
> Maybe something along the line of:
> . gen hhid2 = hv001*100 + hv002
> . tostring hhid2, replace
> . replace hhid2 = subinstr(hhid2,"0"," ",.)
> firstname.lastname@example.org wrote:
> > I have problem generating a hid variable.
> > I want to reproduce an exact clone of my
> > hhid. It is 12 characters long.
* For searches and help try: