Hi
I have a number of equations/strings with the following format: BPAV84 = w84 * * 0.377427 * PU84 * * 0.00832 * pM84 * * 0.614253
I want to make a code that replaces the * * with one * only. I tried:
%eq="BPAV84 = w84 * * 0.377427 * PU84 * * 0.00832 * pM84 * * 0.614253"
string eq2=@wreplace(%eq,"* *", "*")
but it does not work, probably because * is a wild card operator...?
Can you please help me?
Thomas
@wreplace(%eq,"* *", "*")
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: @wreplace(%eq,"* *", "*")
Use @replace, not @wreplace
Who is online
Users browsing this forum: No registered users and 2 guests
