Skip to main content
Released

'Case Sensitive' option when testing attribute values

Related products:FME Form
  • March 9, 2016
  • 3 replies
  • 93 views

geosander
Forum|alt.badge.img+7

I stumbled upon this today again, wishing the option existed, because I'm a bit tired of specifying @LowerCase(myAttr) = 'myvalue' (or something like that) every time.

So I'm bringing it up as an 'official' idea this time: I would love a Match Case option for all transformers that deal with attribute testing. This includes the ones in which you can set conditional values.

It could look something like this:

When checked (=default), it behaves the same as it would do now: it checks for the exact same string as the user entered. When unchecked, it ignores the case, so that 'MYVALUE' or 'myvalue' would also match 'myValue', for example. Naturally, the setting would be ignored if the Mode is set to Numeric.

PS: @lars_de_vries also posted this idea earlier, which is similar but applies to the Joiner only.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • February 9, 2018

Hi @sander, I would highly recommend installing our FME 2018 Beta, we've introduced case sensitivity tests in the Tester (and related transformers like the TestFilter).

 

'

Please note that this is a beta feature and its functionality and appearance are subject to change as the product continues to evolve before the official release.

Should this feature or its implementation not address your concerns, related to this Idea posting, please let us know by leaving a comment. And, as with all beta features and beta versions of our software, they are not considered production-safe and should be incorporated into your workflows with consideration and testing.


geosander
Forum|alt.badge.img+7
  • Author
  • February 10, 2018
Thanks for the good news, Tia! I'll check it out soon! :)

 

 


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • February 14, 2018
So will automatic mode when dealing with text strings implement Case Insensitive? Will it recognise Date/Time (as opposed the current auto mode which only distinguished strings and numeric)?