func doCenter(_data) fvar(s,w,c,q) s = StrIn c = (isdef(FillChar)?(', '+Arg2):'') w = Width q = '('+StrIn+').center('+w+c+')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func doLJust(_data) fvar(s,w,c,q) s = StrIn c = (isdef(FillChar)?(', '+Arg2):'') w = Width q = '('+StrIn+').ljust('+w+c+')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func doRJust(_data) fvar(s,w,c,q) s = StrIn c = (isdef(FillChar)?(', '+Arg2):'') w = Width q = '('+StrIn+').rjust('+w+c+')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func doStartsWith(_data) fvar(s,p,b,e,q,ee,ss) s = StrIn p = SubStr b = (isdef(Start)?(', '+Start):'') e = (isdef(End)?(', '+End):'') q = '('+s+').startswith('+p+b+e+')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func doEndsWith(_data) fvar(q) q = '(' && StrIn && ').endswith(' && SubStr && (isndef(Start)?(', '&&Start):'') && (isndef(End)?(', '&&End):'') && ')' if (linked(Result)) println(res, ' = ', q) event(onResult, res) else event(onResult, q) end end func doExpandTabs(_data) fvar(s,w,q) s = StrIn w = (isdef(TabWidth)?(', '+TabWidth):'') q = '('+StrIn+').expandtabs('+w+')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func doStrMult(_data) fvar(s,w,q) s = StrIn w = Mult q = '(' && s && '*' && w && ')' if (linked(Result)) println(res + ' = ' + q) event(onResult, res) else event(onResult, q) end end func Resut(_data) return(res) end