I would think the best way would be to do a custom format for the cells
however if it has to be a function...
This is an incredibly cheesy way of doing it and undoubtably not the best
solution but it seems to work.
I put " in cell B1 I then used this formula:
=$B$1&A1&$B$1 and copied it down (assuming data starts in A1)