If I have the following values:
$var1 = AR3,373.31
$var2 = 12.322,11T
How can I create a new variable and set it to a copy of the data that has any non-numeric characters removed, with the exception of commas and periods? The values above would return the following results:
$var1_copy = 3,373.31
$var2_copy = 12.322,11
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…