Use subst to replace dots with spaces so that it becomes a list. Then use word to access a specific element: word-dot = $(word $2,$(subst ., ... ... <看更多>
Search
Search
Use subst to replace dots with spaces so that it becomes a list. Then use word to access a specific element: word-dot = $(word $2,$(subst ., ... ... <看更多>
Nice answer, I have a little question: what happen if your variable "$s" is a path folder. When I try to cut a path folder I do like following: ... ... <看更多>
shell-split-string.el. An Emacs lisp library to split string using shell-like ... Makefile 4.0%. Footer. © 2023 GitHub, Inc. Footer navigation. Terms · Privacy ... ... <看更多>
strip¶. $(strip <string>). 名称:去空格函数。 功能:去掉 <string> 字串中开头和结尾的空字符。 返回:返回被去掉空格的字符串值。 示例:. $(strip a b c ). 把字串 ... ... <看更多>