allow empty string as parameter to fromString, update documentation