国产免费AV|泡泡玛特欧洲总部将设在伦敦|中文天堂网www新版资源在线|一本久道综合在线中文|国精产品一二三产区的使用方法|香蕉鱼在线观看|www.27eee

 找回密碼
 注冊
搜索

[基本使用] [logix5000源程序]String Decoder

[復制鏈接]
樓主
山海致遠 發表于 2019-6-11 02:38:09 | 只看該作者 |倒序瀏覽 |閱讀模式
廠商
廠商: AB
String_Decoder.ACD (123.34 KB, 售價: 1 E幣)

Functionality:

Subroutine String_Decode takes source string (string data format is most common when communicating with
some external devices over network) and extracts all values (separated by separator string,which shouldn't
contain numbers) into real array.

Numbers in the string are limited only to maximum array size,which is set in project to 50.

During decoding is string modiffied(decoded part is deleted), so if you want to keep source string, make a copy.


Example:
         source string          "0, 0.3, 0.0003, 3, 4567, 44.33"

         separator string       ","

         result values          [0 0.3 0.0003 3 4567 44.33]


您需要登錄后才可以回帖 登錄 | 注冊

本版積分規則

手機版|小黑屋|ELEOK |網站地圖

GMT+8, 2026-5-26 14:30

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回復 返回頂部 返回列表