File mttroot/ntt/bin/trans/mttSeparateText.m artifact 4f00712084 part of check-in f40162ac3d
function [left,right] = mttSeparateText(text) if isempty(text) left = [] ; right = [] ; else whitespace = min(find(isspace(text))) ; if isempty(whitespace) left = text ; right = [] ; else left = text(1:whitespace-1) ; right = mttClipText(text(whitespace+1:length(text))) ; end end