Ok, so maybe, if you're not Python averse, there might be a relatively simple thing to try. We could have JMP call a short Python script that treats the txt file as an object and replaces all the periods with commas.
#this is python script not JSL
f = open('/Users/path/Byron Wingerd/Jupyter/Data/intable.txt','r')
filedata = f.read()
f.close()
newdata = filedata.replace(".",",")
f = open('/Users/path/Byron Wingerd/Jupyter/Data/outtable.txt','w')
f.write(newdata)
f.close()
We could even wrap the python script in some JSL to make this a little more automatic.
//bw
names default to here(1);
text="\[
f = open('/Users/path/Byron Wingerd/Jupyter/Data/intable.txt','r')
filedata = f.read()
f.close()
newdata = filedata.replace(".",",")
f = open('/Users/path/Byron Wingerd/Jupyter/Data/outtable.txt','w')
f.write(newdata)
f.close()
]\";
path=Get Current Directory();
save text file(path||"replace_periods_with_commas.py", text);
x = RunProgram(
executable( "/Users/path/anaconda/bin/python" ),
options(path||"replace_periods_with_commas.py")
,readfunction("blob")
);
Then if you really wanted to you could pull apart that "text" string that has the python script and assemble specific strings like the path to your file and things like that. (but I'd need another cup of coffee this morning before I got that far)
JMP Systems Engineer, Health and Life Sciences (Pharma)