返回列表 发布新帖

LEFT

592 0
发表于 2024-7-10 18:16:53 | 查看全部 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
<h3 style="margin-left:64px">1.1.1.1<span style="font:9px &#39;Times New Roman&#39;">&nbsp; </span>1.1.1.2 LEFT</h3><p style="margin-top:13px;line-height:118%">该函数功能是获取源字符串中从左边开始的部分字符。输入变量 STR 为 STRING 类型,SIZE 为 INT 类型,返回值为 STRING 类型。</p><p style="margin-top:9px"><span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">LEFT (STR, SIZE) </span>意思是:获取从字符串 <span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">STR </span>左边开始,长度为 <span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">SIZE </span>的部分字符。</p><p style="margin-top:0"><span style="font-size: 8px;font-family:宋体">&nbsp;</span></p><p><span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">FBD </span>中示例:</p><p style="margin-top:0"><span style="font-size: 10px;font-family:宋体">&nbsp;</span></p><p style="margin-left:179px;line-height:79px"><img src="/upload/article/20230611/1686449788443493.png" title="1686449788443493.png" alt="image.png"/></p><p style="margin-top:1px"><span style="font-size: 10px;font-family:宋体">&nbsp;</span></p><p><span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">ST </span>中示例:</p><p style="margin-top:0"><span style="font-size: 10px;font-family:宋体">&nbsp;</span></p><p style="margin-top:0;margin-right:7px;margin-bottom:0;margin-left:0;margin-bottom:0;text-align:center"><span style="font-family:&#39;Arial&#39;,&#39;sans-serif&#39;">VarSTRING1 := LEFT (&#39;SUSI&#39;,3);</span></p><p><br/></p>

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © 2001-2025 英威腾技术论坛 版权所有 All Rights Reserved. 粤ICP备07504406号
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表