v4.1.2

Add new line

Adds a new line before or after a given string. Useful for splitting a large block of text into multiple lines.

App usage

Parameters

Parameter 1
Description: String acting as separator
Type: String
Required: true
Parameter 2
Description: New line position with respect to param1
Type: String
Required: false
Options: Before | After
Default: Before

Example


# INPUT TEXT
The quick brown dog jumped over the 
lazy fox. The quick brown dog jumped. 
over the lazy fox. The quick brown dog. 
jumped over the lazy fox. The quick. 
brown dog jumped over the lazy fox.

# Parameter 1
dog

# Parameter 2
After

# RESULT USING EXAMPLE PARAMETERS
The quick brown dog
  jumped over the 
lazy fox. The quick brown dog
  jumped. 
over the lazy fox. The quick brown dog
. 
jumped over the lazy fox. The quick. 
brown dog
  jumped over the lazy fox.

API usage

You can find all required parameters and multi-language examples on our RapidAPI page.