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
text
The text whose case to change.
target
The target text case, or a variable like
Variable.askEachTime
. -
Initializes the shortcut.
Declaration
Swift
public init(variable: Variable, target: VariableValue<TextCase>)
Parameters
text
The variable representing text whose case to change.
target
The target text case, or a variable like
Variable.askEachTime
.