Take nth bytes

Takes 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
047
Take 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
04
59
Take every
4
Starting at
0
Apply to each line
On
Basic single line

Input

0123456789

Expected answer

UTF-8 text · exact bytes
048
Take 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
048
Take every
4
Starting at
0
Apply to each line
On
Complex multi line

Input

01234
56789

Expected answer

UTF-8 text · exact bytes

8
Take 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
5
b
Take every
4
Starting at
5
Apply to each line
On
Complex single line

Input

0123456789

Expected answer

UTF-8 text · exact bytes
59
Take 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
59
Take every
4
Starting at
5
Apply to each line
On

Parameters

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

Related tools

Browse utils tools