从今天开始,Emacs里面可以运行任何你想要的程序 (Linux & Windows & Mac & BSD)

string-lines is an autoloaded compiled Lisp function in ‘subr-x.el’.

(string-lines STRING &optional OMIT-NULLS)

Other relevant functions are documented in the string group. Probably introduced at or before Emacs version 28.1.

Split STRING into a list of lines. If OMIT-NULLS, empty lines will be removed from the results.