I need to remove `y` from the text character:

My mark up:

```
<label>
 <input type="checkbox" name="_sft_category[]" value="" data-sf-cr="_sft_31" data-sf-hide-empty="1"> y2012 <span class="sf-count">(8)</span>
</label>

```

it has to become `2012` and I am trying the following but with no luck

```
$('label input').text(function() {
 var text = $(this).text();
 return text.indexOf('y') == 0 ? text.substring(1) : text;
});

```

There is a blank space in my text output, I wonder if that has something to do as it is " y2012 "