Extract line chunk before/after Nth character
Get line chunk before or after character index position.
App usage
Parameters
Parameter 1
Description: character index position
Type: Integer
Required: true
Parameter 2
Description: Position of line chunk with respect to param1
Type: String
Required: false
Options: Before | After
Default: After
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.
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
20
# Parameter 2
Before
# RESULT USING EXAMPLE PARAMETERS
The quick brown dog
lazy fox. The quick
over the lazy fox. T
jumped over the lazy
brown dog jumped ove
The quick brown dog
lazy fox. The quick
over the lazy fox. T
jumped over the lazy
brown dog jumped ove
API usage
You can find all required parameters and multi-language examples on our RapidAPI page.