获取字符串列表项
<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>【整型】要获取的字符串列表项的索引,索引从0开始。</td>
<td>1</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/9426c6087d5b9ef05d983a7e14e68965" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5f5f5c95ceed61385e526d0661833798" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/364a1669af70df6f3c7a42cae6c4fc52" title="[组件[获取字符串列表项]_20210421.db">组件[获取字符串列表项]_20210421.db</a></p>