Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I am trying to create a string of length ~350 to send via webclient SL to an API. However, the resulting string from both CONCAT and WCONCAT is limited to 255 characters. Is there a way to either create a longer string consisting of smaller strings? or is there a better way to send the post value to the API?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to create a string of length ~350 to send via webclient SL to an API. However, the resulting string from both CONCAT and WCONCAT is limited to 255 characters. Is there a way to either create a longer string consisting of smaller strings? or is there a better way to send the post value to the API?
Use the StringUtils library. It uses pointers to the string, so you can have any length.
https://help.codesys.com/webapp/idx-StringUtils-lib;product=StringUtils;version=3.5.15.0
Last edit: tvm 2021-12-20