cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Create functions to deal with case of strings.

Create functions to deal with case of strings.

Would like some functions that can be used in relations or program to handle strings easier.

UCASE() or UPPERCASE() or UPPER() Converts all letters in a text string to uppercase.

LCASE() or LOWERCASE() or LOWER() Converts all letters in a text string to lowercase.

PCASE() or PROPERCASE() or PROPER() Converts a text string to proper case; the first letter in each word in uppercase, and all other letters to lowercase.

Maybe a method to compare strings ignoring the case of the strings.

This way when you write equation to compare strings you can reduce the number of variables.

Expand available functions within relations.

3 Comments
Sapphire II

Back when I was programing Unigraphics with GRIP, I had subroutines that would I would call for UPPER or lower case to 'normalize' the text string no matter how the designer entered the data into my text box. I would then store the normalized text string as an attribute.

Amethyst

Well, given that PTC has been asked decades ago to implement the Real to String function (still no response), I wouldn't hold my breath

Posting this so that this product idea gets bumped to top of listings.

Sapphire II

Haha, I chuckled when you said "decades" then I realized, I have been using it for, well decades, LOL, rolled past 2 and working on the third decade.