[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Substring command
read -help strfun-
. replace code = subinstr(code,"-","",.)
On 4/20/06, Mosca, Ilaria <IMosca@ctg-zaio.nl> wrote:
> Dear statalisters,
> I have a string variable that looks like the following:
> I would like to generate another variable that takes away the dash. In
> other words, the new variable would be the following:
> I tried with the command --replace code = subinstr(code,"-","")
> But I obtain an "invalid syntax r(198)" message.
> What should I do?
* For searches and help try: