; IDL Version 8.0, Microsoft Windows (Win32 x86 m32) ; Journal File for nemef1am@HLX01 ; Working directory: k:\temp ; Date: Wed Nov 13 18:35:21 2013 s = 'Tento retezec' print,strlen(s) ; 13 help,strmid(s,3) help,strmid(s,3,4) help,strmid(s,3,50) print,strpos(s,'ez') ; 9 print,strpos(s,'e') ; 1 print,strpos(s,'e',2) ; 7 print,strpos(s,'e',/reverse_search) ; 11 s = ' ' + s + ' ' print,s ; Tento retezec help,s help,strtrim(s,2) help,strtrim(s) help,strtrim(s,0) help,strtrim(s,1) help,strtrim(s,2) print,strsplit(s) ; 2 8 s = strtrim(s,2) help,s s = strtrim(s,2) print,strsplit(s) ; 0 6 ss = 'Tento*retezec' print,strsplit(ss,'*') ; 0 6 print,strsplit(ss,'*',count=n) ; 0 6 print,n ; 2 print,strsplit(ss,'*',/extract) ;Tento retezec help,strsplit(ss,'*',/extract) x = strsplit(ss,'*',/extract) help,x print,x(0) ;Tento print,x(1) ;retezec x = strsplit(ss,'*',/extract) print,strjoin(x,':') ;Tento:retezec .reset ; zsdas ;You entered an invalid number ;READ: Input conversion error. Unit: 0, File: ; asdas ;You entered an invalid number ;READ: Input conversion error. Unit: 0, File: ; 5.342 print,file_test('k:/temp/xxxx.txt') ; 1 print,file_test('k:/temp/xxxx.xtxt') ; 0