# Holding a String in a variable and changing it??

**URL:** <https://forum.arduino.cc/t/holding-a-string-in-a-variable-and-changing-it/77477>\
**Category:** Programming\
**Created:** [November 8, 2011, 3:53pm UTC](https://forum.arduino.cc/t/holding-a-string-in-a-variable-and-changing-it/77477 "2011-11-08T15:53:01Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 13, 2011, 2:04pm UTC](https://forum.arduino.cc/t/holding-a-string-in-a-variable-and-changing-it/77477/21 "2011-11-13T14:04:52Z")

</div>

> Sort of right, but there was a post which said "Who told you to put the function inside another function" which was clearly not going to be helpful to an absolute beginner. It maybe made the poster feel superior, but was clearly not intended to help the original poster.

There was code posted. OP took that code and made significant changes that made it fail to work. I was the one that asked who told OP to make those changes. I figured it just might be enough of a hint to OP to use the code as posted, without modifying it.

Apparently, I was wrong.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 7:38pm UTC](https://forum.arduino.cc/t/holding-a-string-in-a-variable-and-changing-it/77477/22 "2021-05-05T19:38:14Z")

</div>

Closed on May 5, 2021, 7:38pm UTC



[Previous page](https://forum.arduino.cc/t/holding-a-string-in-a-variable-and-changing-it/77477.md?page=1)
