Skip to main content

String

Block Name
BlockDescription
Concat Text
Controller Press

Concatenates two Texts into one.

  • A: Text value corresponding to the first sentence to be concatenated.
  • B: Text value corresponding to the second sentence to be concatenated.
Remove Text
Controller Press

Removes all instances of a text from a given target text.

  • Text: Text value representing the text to remove from the target.
  • Target: Text value corresponding to the target text.
  • Case Sensitive: Boolean value indicating whether the removal of a substring from the target text is case-sensitive.
Replace Text
Controller Press

Replaces all occurances of a text with another text in a given target text.

  • Text: Text value representing the text to be replaced from the target.
  • Target: Text value corresponding to the target text.
  • New Text: Text value corresponding to the new text to replace all occurances of the provided text in the target text.
  • Case Sensitive: Boolean value indicating whether the replacement of a substring from the target text is case-sensitive.
Substring
Controller Press

Retrieves a substring from the target text given the start and end index.

  • Text: Text corresponding to the target text to sample the substring from.
  • Start Point: Integer value corresponding to the index of the first character of the substring to be sampled from the target text.
  • End Point: Integer value corresponding to the index of the last character of the substring to be sampled from the target text.
Find Text
Controller Press

Returns whether an occurance of a text could be found in the target text.

  • Text: Text value representing the text to look for in the target text.
  • Target: Text value corresponding to the target text.
  • Case Sensitive: Boolean value indicating whether the search for a substring from the target text is case-sensitive.
To Upper Case
Controller Press

Returns a text where all characters from the provided text are in upper case.

  • Text: Text value corresponding to the text to be converted to upper case.
To Lower Case
Controller Press

Returns a text where all characters from the provided text are in lower case.

  • Text: Text value corresponding to the text to be converted to lower case.
Start With
Controller Press

Returns whether a target text starts with a given text.

  • Text: Text value used to check whether the target text starts with the given text.
  • Target: Text value corresponding to the target text.
  • Case Sensitive: Boolean value indicating whether the search for a substring from the target text is case-sensitive.
End With
Controller Press

Returns whether a target text ends with a given text.

  • Text: Text value used to check whether the target text ends with the given text.
  • Target: Text value corresponding to the target text.
  • Case Sensitive: Boolean value indicating whether the search for a substring from the target text is case-sensitive.
Compare
Controller Press

Returns whether the two provided text are the same.

  • A: Text value corresponding to the first text in the comparison.
  • B: Text value corresponding to the second text in the comparison.
  • Case Sensitive: Boolean value indicating whether the comparison is case-sensitive.
Is Empty
Controller Press

Returns whether the provided text is empty.

  • Text: Text value to check if it is empty.
Get Text Length
Controller Press

Returns the length of the provided text.

  • Text: Text value to check the length of.