ChangeCase
public struct ChangeCase : Shortcut
Changes the case of the text passed into the action to UPPERCASE, lowercase, or Title Case.
Input: Text
Result: Text
-
The contents of the shortcut.
Declaration
Swift
public var body: some Shortcut { get } -
Initializes the shortcut.
Declaration
Swift
public init(text: Text, target: VariableValue<TextCase>)Parameters
textThe text whose case to change.
targetThe target text case, or a variable like
Variable.askEachTime. -
Initializes the shortcut.
Declaration
Swift
public init(variable: Variable, target: VariableValue<TextCase>)Parameters
textThe variable representing text whose case to change.
targetThe target text case, or a variable like
Variable.askEachTime.
View on GitHub
ChangeCase Structure Reference