Getting information about a string