How can we display the first few characters of a string ?

We have met with a design where we need to show the first characters of the string and append it by few dots,

for example

original text: News heading comes here
expected text: News heading com...

Is it possible to do using LUA scripting? What version of LUA scripting is used in App studio 7.3? If you can provide some string functions to do these kind of operations it would be great (some links). We have referred some functions from lua documentation and applied in calculation field and in entity formula level but everything is return back an #Error# message like this.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk