# List Iterator ignores the last line consisting of a single letter

**URL:** <https://www.finalbuilder.com/forums/t/list-iterator-ignores-the-last-line-consisting-of-a-single-letter/3185>\
**Category:** Bugs\
**Created:** [November 23, 2009, 3:49am UTC](https://www.finalbuilder.com/forums/t/list-iterator-ignores-the-last-line-consisting-of-a-single-letter/3185 "2009-11-23T03:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [November 23, 2009, 3:49am UTC](https://www.finalbuilder.com/forums/t/list-iterator-ignores-the-last-line-consisting-of-a-single-letter/3185/1 "2009-11-23T03:49:17Z")

</div>

Using FinalBuilder 6.3.0.1712, the "List Iterator"&nbsp;action will skip the last line if the last line consists of a single character NOT&nbsp;followed by a newline.

To replicate:

1. Create a variable "X"

2. Create a "List Iterator"&nbsp;using variable "X"&nbsp;with the with some text with the last line having a single character, e.g.:  
"A  
B  
C"&nbsp;\<-- no newlines added here.

3. Then add a "Log Variable Values" action with the variable "X"

Run.&nbsp; The actions should be run twice instead of 3 times.

This can be worked around by adding extra blank lines to the end of the text in the ListIterator.

Thanks

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [November 23, 2009, 9:44am UTC](https://www.finalbuilder.com/forums/t/list-iterator-ignores-the-last-line-consisting-of-a-single-letter/3185/2 "2009-11-23T09:44:55Z")

</div>

Hi John,   
  
 Thanks for reporting this bug, we’ll have a new build out soon which includes the fix.   
  
 Regards,   
 Paul.
