Template:Str find:修订间差异
外观
zhwiki>Xiplus-abot 小 已更改“Template:Str find”的保护设置:高風險模板:475188引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
IdleTap-bot(留言 | 贡献) 导入自求闻百科 |
||
(没有差异)
| |||
2026年8月3日 (一) 14:51的最新版本
1
用法
[编辑源代码]{{str find|text|sub_string}} = 在字串text中搜尋並返回特定字串sub_string的位置。
- Only searches first 50 characters of text. Returns -1 if sub_string not found in first 50 characters.
- Character position is 1 based (not 0 based as usual in calculations
參見
[编辑源代码]- 模板链接:{{Strfind short}}(如果使用Str find引致模板「擴展深度超出限制」,可嘗試改用Strfind short。)