Thank you very much, I later came up with a solution since I query a table in an Sqlite,
QString field1 = "abcdef";
substr(field1, 1, 4);
the query yield the desired output in QtRpt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes in embedded script language in the QtRPT, so that I can execute function or code from my app. I'm work with sqlite
Yes in embedded script language in the QtRPT, so that I can execute function or codes from my Qt C++ app, I working with sqlite
Thank you very much, I later came up with a solution since I query a table in an Sqlite,
QString field1 = "abcdef";
substr(field1, 1, 4);
the query yield the desired output in QtRpt
I have added embedded function "Substring". You can take sources from git and build it or wait new release
okay, Thanks. More power to your elbow