How to delete a substring
Posted: Tue Jun 30, 2015 9:19 am
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
%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