The String data type represents a string.
The source value (value given in the model) must be given as a number and is transformed into the type of the bound control property:
The string type does not have any format options.
Example how a String type can be initialized:
#!js // The source value is given as string. The length of the string must not greater than 5. var oType = new sap.ui.model.type.String(null, {maxLength: 5});
The String type supports the following validation constraints: