Folding a string to lower or upper case¶
tolower() |
Return a string folded to lower case |
toupper() |
Return a string folded to upper case |
SYNTAX
tolower(text_expression)
toupper(text_expression)
Returns text_expression with all characters in the range “A/a” to “Z/z” converted to lower or upper case.
EXAMPLE
!temp Text, "Original text",a30 !temp LCText, "Converted text",a30 +textbox Box1 at 35,10 { field = tmp.LCText } tmp.Text = "BANANAS 30p kiwifruit £1.29" tmp.LCText = tolower(tmp.Text) display Box1 /* [bananas 30p kiwifruit £1.29] */
FileID = "FILE_" / toupper(CurrentFileName) SaveRecID = "TMP_" / toupper(CurrentFileName)
RELATED TOPICS |