Drop nth bytes

Drops every nth byte starting with a given byte.

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Tool options

Examples

Basic multi line

Input

01234
56789

Expected answer

UTF-8 text · exact bytes
123
5689
Drop every
4
Starting at
0
Apply to each line
Off
Basic multi line (apply to each line)

Input

01234
56789

Expected answer

UTF-8 text · exact bytes
123
678
Drop every
4
Starting at
0
Apply to each line
On
Basic single line

Input

0123456789

Expected answer

UTF-8 text · exact bytes
1235679
Drop every
4
Starting at
0
Apply to each line
Off
Basic single line (apply to each line)

Input

0123456789

Expected answer

UTF-8 text · exact bytes
1235679
Drop every
4
Starting at
0
Apply to each line
On
Complex multi line

Input

01234
56789

Expected answer

UTF-8 text · exact bytes
012345679
Drop every
4
Starting at
5
Apply to each line
Off
Complex multi line (apply to each line)

Input

012345
6789ab

Expected answer

UTF-8 text · exact bytes
01234
6789a
Drop every
4
Starting at
5
Apply to each line
On
Complex single line

Input

0123456789

Expected answer

UTF-8 text · exact bytes
01234678
Drop every
4
Starting at
5
Apply to each line
Off
Complex single line (apply to each line)

Input

0123456789

Expected answer

UTF-8 text · exact bytes
01234678
Drop every
4
Starting at
5
Apply to each line
On

Parameters

ParameterDefault valueInput and choices
Drop every4Number
Starting at0Number
Apply to each linefalseOn or off

Related tools

Browse utils tools