toTitleCase() not working as it should be

Hi,

toTitleCase() doesn’t work as I expect it to work. If I input a string like “DEN BEER”, it doesn’t get in Title Case, as I expect.

However, if I first transform into lower case, and then Title Case, I get the expected result. But I believe this should not work like this, right?

Thanks
Cadish

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @Cadish

That’s an intended behavior :slight_smile:
image

1 Like

Aha! Gotcha. RTFM was the answer :sweat_smile:

Thanks for the clarification @barn4k !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.