去重字符串列表
<h1>功能</h1>
<p>去掉所给字符串列表中重复的列表项。
当出现多个(>=2)相同的列表项时,系统会去掉索引值较小的列表项。</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>
</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.该函数需与【构建字符串列表】、【遍历循环】函数搭配使用。
2.先构建一个字符串列表,再通过【去重字符串列表】函数将重复的字符串列表项去除,然后用【遍历循环】函数将去除掉重复的字符串列表项后的所有列表项遍历出来。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/15ca6d430e3d77e51f7ff06ffd572b2f" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/8037340dba6c728dbb940aa3159c87af" alt="" /></p>
<h1>相关函数</h1>
<p>【构建字符串列表】、【遍历循环】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/8a27d69c4ae4e7c8aa293a7d33c93e6b" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/dcc0d47867dbdf467ca7c0a7dfd408ab" title="[组件[去重字符串列表]_20210421.db">组件[去重字符串列表]_20210421.db</a></p>