To prevent hyphenation of a word, put it into an mbox:

\mbox{Iamalongword}