Is there a trick to avoid this behaviour? I would like to avoid conditional coding, also renaming the filenames is not an option or the project
I´m using Stata 15.1. on a OS X 10.15.2. (Catalina)
thanks,
Marc
Code:
input str50 filename "11-11-t0AL011OAO1-t3-Baseline-Segment01-19.01.99" "11-11-t0AL111ÜAK1-t3-Baseline-Segment01-19.01.99" "11-11-t0AL111RIÖ1-t3-Baseline-Segment01-19.01.99" end bro gen str ID = substr(filename,9,9) gen str mzp = substr(filename,19,2) gen str phasestr = substr(filename,22,6) gen str phase = substr(filename,4,2)
0 Response to extracting components from filename including special characters
Post a Comment