查找字符串列表项
<h1>功能</h1>
<p>通过输入字符串列表值获取对应索引值。
可输入字符串列表值获取指定索引值,也可通过循环遍历所有列表项,索引从0开始。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>列表</td>
<td>【TList<string>】要获取索引值的字符串列表。</td>
<td>列表(传入变量)</td>
</tr>
<tr>
<td>值</td>
<td>【字符串】要获取的索引值的字符串列表值。</td>
<td>'岗位'</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>索引</td>
<td>【整型】返回指定的索引值。</td>
<td>输出索引(创建变量)</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.该函数需与【构建字符串列表】函数搭配使用,将构建的字符串列表,通过【查找字符串列表项】函数获取指定的索引值。</p>
<h1>相关函数</h1>
<p>【构建字符串列表】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d85ed6f3d2bcda5e8d128a71b36376e0" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/b9683b6335854234f0e4098b78e6b413" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5881f3964d6817c5475f0643d75d6da3" title="[组件[查找字符串列表项]_20210421.db">组件[查找字符串列表项]_20210421.db</a></p>