提取字符串中的一部分 (类似Basic语言的MID$函数).
(dos_strmid string index [count])
string
字符串.
index
以0开始的索引, 指定要在string中开始提取的位置.
count
提取字符的数量. 如果不提供则提取string的全部剩余部分.
如果成功, 返回提取的字符串.
nil 失败.
Command: (dos_strmid "AutoCAD 2006" 8)
"2006"
Command: (dos_strmid "AutoCAD 2006" 4 3)
"CAD"