Improved a few lines based on Pete and Aranclanos's feedback.  Also removed the "capitalize" call, which wasn't working, instead breaking the string up into two parts.  BYOND macros are weird, but it works great.