JMP Pro 13. I'm attempting to import a .dat file. Each column is numeric. Each line begins with a ( and ends with a ) so I can't seem to figure out how to remove both of those symbols at import. The problem is that I cannot seem to get rid of that trailing ) so that column is imported as a character. Even if I setup script to replace the ) with nothing the column is still character and I can't figure out how to force it to numeric.
For( i = 1, i<= n rows(dtSFileMasterModule), i++,
dtSPMFile = Open( PMxPath || PMx[i] ||"\file.dat", Import Settings(
End Of Line( CRLF, CR, LF ),
End Of Field( Space, Other( "(" ), CSV( 0 ) ),
Strip Quotes( 1 ),
Use Apostrophe as Quotation Mark( 0 ),
Use Regional Settings( 0 ),
Scan Whole File( 1 ),
Treat empty columns as numeric( 0 ),
CompressNumericColumns( 0 ),
CompressCharacterColumns( 0 ),
CompressAllowListCheck( 0 ),
Labels( 1 ),
Column Names Start( 3 ),
Data Starts( 4 ),
Lines To Read( "All" ),
Year Rule( "20xx" )));
dtSPMxFileMaster = dtSPMxFileMaster << concatenate(dtSPMFile, append to first table(1));
Close( dtSPMFile, "no save" );
);