查找
<h1>功能</h1>
<p>在输入中搜索子串,如果找到则返回索引的位置,如果返回0,从偏移位置开始搜索。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>输入</td>
<td>【字符串】输入要被搜索的字符串。</td>
<td>'金智维RPA机器人'</td>
</tr>
<tr>
<td>搜索内容</td>
<td>【字符串】要搜索的字符串子串。</td>
<td>'RPA'</td>
</tr>
</tbody>
</table>
<h1>选项</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>偏移量</td>
<td>【整型】自定义</td>
<td>1</td>
</tr>
<tr>
<td>忽略大小写</td>
<td>【布尔型】是否忽略字符串的大小写,默认false,选中则忽略大小写。</td>
<td>否</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>结果</td>
<td>【整型】输出字符串索引的位置,索引从1开始。</td>
<td>结果(创建变量)</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.若要搜索的内容不在被搜索的字符串内,则返回0。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/b72657fffce5811aae6abc2d556b4eba" alt="" /></p>
<h1>相关函数</h1>
<p>无</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/945d007524edfdf2ac2b22b6b3c0399d" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a5d641a8c8fa7406446386dede7d88df" title="[组件[查找1]_20210419.db">组件[查找1]_20210419.db</a></p>