IDL 拆分和合并字符串 STRSPLIT与STRJOIN

s='siconc_SIday_AWI-CM-1-1-MR_historical_r1i1p1f1_gn_18500101-18501231'
str=STRSPLIT(s, '_', /EXTRACT)

str=siconc
SIday
AWI-CM-1-1-MR
historical
r1i1p1f1
gn
18500101-18501231

strjoin(str,'_')

结果为siconc_SIday_AWI-CM-1-1-MR_historical_r1i1p1f1_gn_18500101-18501231

你可能感兴趣的:(idl,data,process,字符串,IDL)