Dear Gretl Community,
I would like to know how can I remove the spaces before a specific character in a string. Please take a look at my example:
<hansl>
string s1a = " @Gretl is great!"
string s2a = " @Gretl is really great!"
string s1b = strsub(s1a, " @", "")
string s2b = strsub(s2a, " @", "")
print s1b
print s2b
</hansl>
I need to remove the blank spaces before the "@" no matter how many blank spaces I have. Does anyone have a suggestion?
Thanks in advance,
Henrique Andrade