Navigate to Customization > Forms > Advanced PDF/HTML Templates
Preferred Check PDF/HTML Template: Click Edit
Source Code: Click the Toggle Switch Button
Note: If the template is already in Source Code Mode, you may skip Step 3
Press Ctrl + F
Search for the code ${check.totalwords}
Replace it with this code:
<#assign totalWordsArr = check.totalwords?split(‘ and ‘) > <#assign words = totalWordsArr[0] > ${words}
Click Save