replace not working
Archives Forums/BlitzMax Bug Reports/replace not working
| ||
data$=currentdate() replace (data," Jan "," Gennaio ") replace (data," Feb "," Febbraio ") replace (data," Mar "," Marzo ") replace (data," May "," Maggio ") replace (data," Apr "," Aprile ") replace (data," Jun "," Giugno ") replace (data," Jul "," Luglio ") replace (data," Aug "," Agosto ") replace (data," Sep "," Settembre ") replace (data," Oct "," Ottobre ") replace (data," Nov "," Novembre ") replace (data," Dec "," Dicembre ") print data the result is the same of first data |
| ||
Don't use data$ use dat$ instead. I think data is a reserved keyword. |
| ||
No you missed the obviuos data=Replace(data," Oct "," Ottobre ") or better, just use the OO approach data=data.Replace(" Oct "," Ottobre ") |
| ||
ah sorry misread the category, I thought this was for b3d.. |
| ||
Thank you Degac! (grazie) |