I have a string variable that I want to change to numeric but I can't. Can you help me please

storage display value
variable name type format label variable label
----------------------------------------------------------------------------------------------------------------
d1 str18 %18s type de culture

destring d1, replace
d1 contains nonnumeric characters; no replace