Here is an EEM script for testing string trim:
event manager applet t
event none
action 1 set i "flash:/abc/def/ghia"
action 2 puts "'$i'"
action 3 string trimleft "$i" "flash:/"
action 4 puts "'$_string_result'"
action 5 string trim "$i" "flash:/"
action 6 puts "'$_string_result'"
I see a really strange result:
#event manager run t
'flash:/abc/def/ghia'
'bc/def/ghia'
'bc/def/ghi'
What does the ":" mean in the trim string?