摘要: 1.字符串分割 S = regexp(str, char, 'split') 例子: S = regexp(fileName, '\.', 'split'); newName = [ S{1} '.txt']; 阅读全文
posted @ 2016-08-16 23:52 Shiyu_Huang 阅读(224) 评论(0) 推荐(0)
摘要: 终端里输入:defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder 回复输入:defaults delete com.apple.finder _FXShowPosixPathInTitle; 阅读全文
posted @ 2016-08-16 22:31 Shiyu_Huang 阅读(1165) 评论(0) 推荐(0)
摘要: 先在input标签中添加一个id='getvalue'document.getElementById("getvalue").value; 阅读全文
posted @ 2016-08-16 22:10 Shiyu_Huang 阅读(222) 评论(0) 推荐(0)