Xbasic
UT Function
Syntax
Output_String as C = UT(C character)
Arguments
- characterCharacter
A character string.
Returns
- Output_StringCharacter
Return the input string formatted in upper case with leading and trailing whitespace removed.
Description
Returns the uppercase trimmed version of the string supplied.
Discussion
Converts all the text to uppercase, and removes leading and trailing blanks from a character string.
Example
? ut(" assorted parts ") = "ASSORTED PARTS" DIM lastname as C = "Dudley " DIM firstname as C = "Beth " ? ut(lastname) + upper(firstname) = "DUDLEYBETH "
See Also