# String splitting error

**URL:** <https://forum.kirupa.com/t/string-splitting-error/247527>\
**Category:** Uncategorized\
**Created:** [December 25, 2007, 2:09pm UTC](https://forum.kirupa.com/t/string-splitting-error/247527 "2007-12-25T14:09:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArmoredSandwich](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@ArmoredSandwich](https://forum.kirupa.com/u/ArmoredSandwich)\
**Post date:** [December 25, 2007, 2:09pm UTC](https://forum.kirupa.com/t/string-splitting-error/247527/1 "2007-12-25T14:09:39Z")

</div>

Okay, for my map editor i need to be able to read text files (loading maps to edit).

I was unable to load text files, so i decided you should just copy paste the code in a text file.

Now i need flash to read the string and place the tiles. The problem is that I cant split strings on enters. C# uses ’  
'. Z said I should use ’  
'. The c# method aint working and I get an error if I try to do what Z said (String literal was not properly terminated).

I use something like this:  
var lines:Array = input.split(new String(’  
'));

Thank you
