Awesome, thanks guys.

I haven't tested it yet, but a Twitter follower of mine added this
earlier, just for everyone's reference:

$('label').text().slice(-1)=="F"

Cheers again, I'll check all your examples out tomorrow.
L

On Jun 11, 12:23 am, mkmanning <michaell...@gmail.com> wrote:
> Here's a couple other ways:
>
> /F$/.test($('label').text());
>
> or
>
> $('label').text().substr(-1) === "F";
>
> On Jun 10, 3:24 pm, ldexterldesign <m...@ldexterldesign.co.uk> wrote:
>
> > Easy guys,
>
> > <label>A B C D E F</label>
>
> > Anyone got any tips on how to find out if the last letter of my label
> > is 'F'?
>
> > Cheers,
> > L

Reply via email to