Coding Help Starting and Ending with a certain Character

the code just doesn't work

What code?

Post the code, using code tags, and tell us what goes wrong.