# XOD String bug?

**URL:** <https://forum.xod.io/t/xod-string-bug/3405>\
**Category:** Uncategorized\
**Created:** [February 3, 2020, 1:55am UTC](https://forum.xod.io/t/xod-string-bug/3405 "2020-02-03T01:55:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 3, 2020, 2:08pm UTC](https://forum.xod.io/t/xod-string-bug/3405/4 "2020-02-03T14:08:18Z")

</div>

It is the same bug I found in my 1st version of [Letter or number adder](https://forum.xod.io/t/letter-or-number-adder/3353/4). String treats 00h as end-of-string, so you don’t want to update cursor when pushing 00h onto string (if (\*state-\>cursor) {state-\>cursor++;}).

I wish I had known about accumlate-string looking for templates to build [Letter or number adder](https://forum.xod.io/t/letter-or-number-adder/3353/4) off of…

---

_[View the full topic](https://forum.xod.io/t/xod-string-bug/3405)._
