displays string of any length