Namespace: Tidy

Tidy

Tidy operations.

Author:
  • <p>n1474335 [n1474335@gmail.com]</p>
License:
  • Apache-2.0
Source:

Members


<static, constant> REMOVE_SPACES

Default Value:
  • true
Source:

<static, constant> REMOVE_CARIAGE_RETURNS

Default Value:
  • true
Source:

<static, constant> REMOVE_LINE_FEEDS

Default Value:
  • true
Source:

<static, constant> REMOVE_TABS

Default Value:
  • true
Source:

<static, constant> REMOVE_FORM_FEEDS

Default Value:
  • true
Source:

<static, constant> REMOVE_FULL_STOPS

Source:

<static, constant> APPLY_TO_EACH_LINE

Source:

<static, constant> DROP_START

Source:

<static, constant> DROP_LENGTH

Default Value:
  • 5
Source:

<static, constant> TAKE_START

Source:

<static, constant> TAKE_LENGTH

Default Value:
  • 5
Source:

<static, constant> PAD_POSITION

Default Value:
  • ["Start","End"]
Source:

<static, constant> PAD_LENGTH

Default Value:
  • 5
Source:

<static, constant> PAD_CHAR

Default Value:
Source:

Methods


<static> run_remove_whitespace(input, args)

Remove whitespace operation.

Parameters:
Name Type Description
input string
args Array.<Object>
Source:
Returns:
Type
string

<static> run_remove_nulls(input, args)

Remove null bytes operation.

Parameters:
Name Type Description
input byte_array
args Array.<Object>
Source:
Returns:
Type
byte_array

<static> run_drop_bytes(input, args)

Drop bytes operation.

Parameters:
Name Type Description
input byte_array
args Array.<Object>
Source:
Returns:
Type
byte_array

<static> run_take_bytes(input, args)

Take bytes operation.

Parameters:
Name Type Description
input byte_array
args Array.<Object>
Source:
Returns:
Type
byte_array

<static> run_pad(input, args)

Pad lines operation.

Parameters:
Name Type Description
input string
args Array.<Object>
Source:
Returns:
Type
string