Hi, EViews 8.1, I would like to delete a substring from a string at specified position. If I use
%coefSigns = @wdrop(%coefSigns, @word(%coefSigns, !word))
it works fine but if there are the same names in coefSigns, all of them are deleted. I need a solution as follows:
%coefSigns = @...(%coefSigns, !position)
to iteratively get rid of a character from a specified position and not based od "pattern_list".
best regards
How to delete a substring
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13584
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to delete a substring
I think you'll have to use a combination of @left and @mid to join together the parts not including the character you want.
Who is online
Users browsing this forum: No registered users and 2 guests
