Cutting string at the 2800 character mark

0
Hi, If certain string exceeds the 2800 character count, I'd like to have it cut a the 2800 character mark and put into another string. How can I do that in a microflow?
asked
2 answers
0

Did you check the substring functionality?

answered
0

Substring functionality: https://docs.mendix.com/refguide/string-function-calls/#5-substring

- Check length of string
- If > 2800 chars, take the substring 0 – 2800 into the first string (cutting it off)
- Take the remaining 2800 – (no length) into the second

answered