在字符串中搜索指定的模式 支持的平台:视窗和 Mac OS 签名(vl-string-search pattern str [start-pos])
返回值类型:整数 一个数值,表示字符串中找到指定模式的位置;否则,如果未找到模式;字符串的第一个字符是位置 0。nil 发布信息
释放: 历史
AutoCAD 2021 例子(vl-string-search "foo" "pfooyey on you") 1 (vl-string-search "who" "pfooyey on you") nil (vl-string-search "foo" "fooey-more-fooey" 1) 11 (vl-string-search "€" "€abc中€") 0 (vl-string-search "测试" "€abc中€" 1) nil (vl-string-search "€" "€abc中€" 1) 5 |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2024-12-16 00:29
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.