[英](wx)Maxima: create a list of characters (as strings) without having to quote each character, individually?
I frequently find myself needing to create a list of characters, eg我经常发现自己需要创建一个字符列表,例如
xopts:["p", "q", "r", "s", "t", "u", "v", "x", "y", "z"];
and was looking for a way to produce these lists, without having to wrap every character in "
's.并且正在寻找一种生成这些列表的方法,而不必将每个字符都包装在"
中。
Recalled charlist
immediately after posting.发布后立即召回charlist
。
Eg, the list in the post could be created by:例如,帖子中的列表可以通过以下方式创建:
xopts:charlist("pqrstuvxyz");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.