probably this is a very simple one, but unfortunately not simple enough for me

To achieve this I coded the following:
Code: Select all
put "/folder/subfolder" into fld "fField"
if offset("/", fld "fField", 1) > 1 then
put offset("/", fld "fField", 1) +1 into charPosition
replace char charPosition of fld "fField" with "." in fld "fField"
end if
