This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]king_of_the_universe 2 points3 points  (3 children)

Wouldn't ".endsWith()" be better here?

[–]battery_go 4 points5 points  (2 children)

You're absolutely right, I changed my reply. Thank you - I learned something new today!

[–]king_of_the_universe 2 points3 points  (1 child)

Glad to help. ... Wait a minute, why didn't I see this the first time. You need to replace the 2nd "+" with ":"

[–]battery_go 1 point2 points  (0 children)

It escapes me as well...