Problem

Change European decimal notation to GDL conform syntax for a correct conversion by SPLIT-command. Change for example "2500,01" into "2500.01".

Script

txt="2500,01"

!»» Substitute Komma by dot  ("," to ".")

DO : s=STRSTR(txt,",")
  IF s THEN txt=STRSUB(txt,1,s-1)+"."+STRSUB(txt,s+1,STRLEN(txt)-s)
  WHILE s>0

PRINT txt