# Spaces in a String

**URL:** https://forum.kirupa.com/t/spaces-in-a-string/190105
**Category:** flash
**Created:** [June 8, 2006, 5:32pm UTC](https://forum.kirupa.com/t/spaces-in-a-string/190105 "2006-06-08T17:32:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mpr](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mpr](https://forum.kirupa.com/u/mpr)
#### Post date: [June 8, 2006, 5:32pm UTC](https://forum.kirupa.com/t/spaces-in-a-string/190105/1 "2006-06-08T17:32:21Z")

</div>

I’ve got a script where I’m changing the context menu. This is what the items look like:

```auto

var menuItem:ContextMenuItem = new ContextMenuItem("This is where content goes.", noClick);

```

What I need is for some space to show up in the item, preferably before the start of the sentence. But if I just put some spaces in there it won’t take. Is there some code for that like the _&nbsp_ with HTML?
