Announcements
No record found.
Hi,
I need to remove "and 99/100" from amount in word, while cheque printing.
Thanks.
*This post is locked for comments
Well this amount is inserted into the tempTable in a class correct?
So before the assignment you can get the string value and use strcan to find the position of "and". Use that position value to remove the extra part out of the actual string.
something like this: (just to give an idea)
int pos = strScan(oldVal, "and", 1,1); str newVal = subStr( oldVal, 1, pos-1);
Was your issue resolved? If yes, then please verify the answer and if not, then do share more information so it can be resolved and this thread can be marked as resolved.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Alexey Lekanov 2
Henrik Nordlöf 2 User Group Leader