Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tok _command
#1
do you have a better idea how to split filepath from _command ?
(drop file on exe or shortcut)
problem is that a filename can also have spaces, so using space
as a delimiter is not really helpful.

Code:
Copy      Help
ARRAY(str) arr
int j nt
nt = tok(_command arr -1 " ")
for(j 0 nt) out arr[j]

thanks
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)