Customize

Split Single-line Text to Multiple Lines

Summary

Split a single-line text into multiple lines using a specified delimiter.

How to use

In many types of conversions, such as “Convert Half-width to Full-width,” the source field and the destination field are the same, but the value of the source field is altered. In contrast, for the operation “Split Single-line Text into Multiple Lines,” the value of the source field remains unchanged, and a separate field must be prepared to hold the conversion result. Alternatively, it is also possible to obtain the conversion result using an expression like “= $1” besides setting it in a different field.

Parameters

Set Single Line Text Field, Delimiter, and Target Field (Optional).

Single Line Text Field

Select the Text field. Only the Text field can be selected.

If you select a field that is inside a table, the Do will process all rows of that table. See *1 for exceptions to this behavior.

*: If you set a Condition that only applies to some table rows (such as the Condition “When Fields Value Changed”), the Do will only process the rows affected by that Condition.

Delimiter

Enter the characters to be used as delimiters to separate the text. Multiple characters can be specified, not just one.

Target Field (Optional)

Use this parameter to set the results to another field. You can omit this parameter if you do not set the results directly in the field but use it in another action. Only the Text area field can be selected.

If the “Text area field” parameter is a field in the table, the “Target Field (Optional)” must also be selected from the same table.

Compatibility with krewSheet

This action is designed to work seamlessly with krewSheet.

However, the following restrictions apply to the parameter “Target Field (Optional)":

  • The results cannot be assigned to a field that was retrieved through a Lookup.
  • The following field types can be set only at the timing of record saving (e.g. “Before Record Saved Excluding Deleted"): If you want to gain more technical knowledge, refer to the krewSheet documentation .
    • Fields not included in the krewSheet view’s columns
    • Fields set to read-only in krewSheet