added method to find the the index of the first character in a string for a given width - this is important because we are not using monspace fonts (or may not be using monospace).