I have a string with elements like:
WALMEX*_MM
Forgive the dumb question, but how do I write a line that will get rid of that asterisk?
dumb question about the treating an asterisk as an asterisk -- not a wildcard
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13305
- Joined: Tue Sep 16, 2008 5:38 pm
Re: dumb question about the treating an asterisk as an asterisk -- not a wildcard
Code: Select all
%a = "WALMEX*_MM"
%b = @replace(%a, "*", "")
Follow us on Twitter @IHSEViews
Re: dumb question about the treating an asterisk as an asterisk -- not a wildcard
Thank you Gareth. Now I feel especially idiotic. I thought I had tried something like that to no avail. At the risk of feeling yet more foolish, why is that asterisk not read as a wildcard? Thanks vm again.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13305
- Joined: Tue Sep 16, 2008 5:38 pm
Re: dumb question about the treating an asterisk as an asterisk -- not a wildcard
Because @replace doesn't accept wildcards.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 20 guests