Skip to main content
Nov 16, 2016 4:45 PM UTC
Archived

Create functions to deal with case of strings.

Related products:Creo Parametric

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.

4 replies

Nov 16, 2016 6:01 PM UTC

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.

Mar 14, 2017 7:39 PM UTC

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.

Mar 14, 2017 8:15 PM UTC

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.

olivierlp
Community Manager
Jan 4, 2022 3:18 PM UTC
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.

Olivier