Concat在Codesys中的两个Wstrings
我有一个问题,即Concat(str1,str2)函数不采用两个WSTRINGS,并且没有找到用于WSTRING的cont函数。那我该怎么做呢?
我无法将输入转换为字符串,然后将其返回到WSTRING时,然后将其释放字符串信息。此ws_textout:= string_to_wstring(Concat(“ e”,wstring_to_string(ws_textin))));
不起作用。
I have the problem that the CONCAT(str1, str2) function does not take two wstrings and I have not found a concat function for wstring. So how should I do it?
I cannot convert the input to string and then back to wstring as I then loose information of the string. This ws_textOut:=STRING_TO_WSTRING(CONCAT("E ", WSTRING_TO_STRING(ws_TextIn)));
does not work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用使它们连接。
You can use
WCONCAT
to concatenate them.