Change Text Casing

From UBot Studio
Revision as of 02:16, 18 November 2012 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$Change Text Casing is a Text Function.

The function returns the text with the casing of the text changed. This function changes all text in a string to uppercase, lowercase, or proper case.You can turn any text item you place into the field labeled “Text to Change” in the function to uppercase, lowercase or proper case. It can be a list item from a list or simply a string you are trying to fill a field with.

Example

ui stat monitor("Resulting numbers:  ", #numbers)
set(#numbers, $change text casing("My Text", "Upper Case"), "Global")

Running the script changes the text "My Text" into "MY TEXT".

File:Upper.png

ui stat monitor("Resulting numbers:  ", #numbers)
set(#numbers, $change text casing("MY TEXT", "Lower Case"), "Global")

Running the script changes the text "MY TEXT" into "my text". File:Lower.png

ui stat monitor("Resulting numbers:  ", #numbers)
set(#numbers, $change text casing("my text", "Proper Case"), "Global")

Running the script changes the text "my text" into "My Text".

File:Proper.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox