# Omron FINS Driver String Byte Order

**URL:** <https://forum.inductiveautomation.com/t/omron-fins-driver-string-byte-order/101882>\
**Category:** Ignition\
**Created:** [February 5, 2025, 3:50am UTC](https://forum.inductiveautomation.com/t/omron-fins-driver-string-byte-order/101882 "2025-02-05T03:50:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [February 5, 2025, 4:10am UTC](https://forum.inductiveautomation.com/t/omron-fins-driver-string-byte-order/101882/2 "2025-02-05T04:10:07Z")

</div>

> [@String Format byte order](https://forum.inductiveautomation.com/t/string-format-byte-order/55276/4):
>
> Just so you don’t scratch your head for too long on this: s = "eRicep1 32" s = ''.join(c for pair in zip(s[1::2], s[::2]) for c in pair) s[1::2] and s[::2] will produce strings with even or odd characters ([1::2] = start from 1, stop at the end, step 2), zip will take one character from each, then it’s simply a matter of putting things in the right order. So, with "eRicep1 32", s[1::2] will be "Rcp 2" and s[::2] "eie13" zip("Rcp 2", "eie13") produces the pairs [('R', 'e'), ('c', 'i'), ('p'…

Related Thread.

---

_[View the full topic](https://forum.inductiveautomation.com/t/omron-fins-driver-string-byte-order/101882)._
