Hi,
I have variable x1. I am trying to create x2 and x3 as given in the dataex.
I used

Code:
split x1, generate(x2) parse(*)
It created two variables, but second split variable was empty.


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str7 x1 float x2 str3 x3
"1.58***" 1.58 "***"
".48"      .48 ""   
".82***"   .82 "***"
".51*"     .51 "**" 
".87***"   .87 "***"
"-.47*"   -.47 "*"  
".45***"   .45 "***"
".14**"    .14 "**" 
".17"      .17 ""   
"1.11"    1.11 ""   
end
Kindly help.