String functions fixes. Attributes. "minInt - 1" overflow fix