>> Trim right WorldinHello World Hello stringtrimrightstring?trimChars?——返回从右侧删除string所有出现的trimChars。默认情况下trimChars是空格(空格、制表符、换行符) sets1"Hello World"sets2"Hello"puts"Trim left$s2in$s1"puts [string trimleft$s1$s2] >> Trim left HelloinHello World World formatf...
string trimleft TCL @@ -630,7 +667,6 @@ abcfaoo OUT - # XXX - many of the classes are NOT tested here, and we rely # on the cvs tests from tcl for that. Index: languages/tcl/lib/commands/string.pir === --- languages/tcl/lib/commands/string.pir (revision 10775) +++ language...
Thanks for the compliment, I love creating RegExp's. Well, I'm not completely familiar with all other languages' regular expression syntax, but I know that with AutoIt "^" means "only match if this is the first character in the test string" and likewise, "$" means "only match if thi...