Are you sure the data elements being stored actually contains the full string for each element? I'd investigate how you store the data in your stack as the possible culprit.
Had a cin.ignore() in my pushItem function, which I guess ignored the first character in the element of the stack. I t worked fine afrter removing the ignore.