Free Support Forum - aspose.com

Merge Field Formatting: neither \* Caps or \* FirstCap appear to be working

Hi,

I have added some formatting switches to some of my mail merge fields, and they don't appear to work.

When the data/content is in uppercase (EXAMPLE), the result with either formatting switches stays in uppercase, where I would expect: Example.

Thanks,
Seb

The documentation for MS Word says that

\* Caps
Capitalizes the first letter of each word.

\* FirstCap
Capitalizes the first letter of the first word.

Other letters remain unchanged and that is how it is done in Aspose.Words.

So if you have 'example' string filled in the field it will come out as 'Example'. But 'EXAMPLE' string will remain unchanged.