For example, I want to split \"one,two,three\" with comma as delimiter and use a loop to process the resulted three substring separately.
set list = one,two,three foreach i ( $list:as/,/ / ) echo $i end