File mttroot/ntt/bin/trans/mttCutText.m artifact df536d2c98 part of check-in 65118e221f
function [left,right] = mttCutText(text,delimiter) if isempty(text) left = [] ; right = [] ; else where = min(findstr(text,delimiter)) ; if isempty(where) left = mttClipText(text) ; right = [] ; else left = mttClipText(text(1:where-1)) ; right = mttClipText(text(where+length(delimiter):length(text))) ; end end