dear all
I would like to extract only number from a string variable. For example, my variable A has an observation of "3 repeat prescription " then I would like to extract only "3" from here. Likewise, I want to have "2" from "2 Blood tests". Many thanks in advance. BW Kim
I would like to extract only number from a string variable. For example, my variable A has an observation of "3 repeat prescription " then I would like to extract only "3" from here. Likewise, I want to have "2" from "2 Blood tests". Many thanks in advance. BW Kim
Comment