Some inspiration I got from this blog post entry #3 by Nick Cox:
Code:
. di stritrim("South Africa") South Africa
Code:
. di subinstr("South Africa", " ", "_") invalid syntax r(198);
So, my question is: what code would replace space(s) in a string by another character like an underscore (_)?
0 Response to How to replace space(s) in a string by another charater like and underscore (_)?
Post a Comment