Converts the value of objects to strings based on the formats specified and inserts them into this string.
Must call Format.Config.addFormatToPrototype to be defined.
A list of arguments that contains zero or more objects to format.
A copy of the current instance in which the format items have been replaced by the string representation of the corresponding objects in args.
Converts the value of objects to strings based on the formats specified and inserts them into this string.
Must call Format.Config.addFormatToPrototype to be defined.
An object that supplies culture-specific formatting information.
A list of arguments that contains zero or more objects to format.
A copy of the current instance in which the format items have been replaced by the string representation of the corresponding objects in args.
Returns a new string in which a specified string is inserted at a specified index position in the instance.
Must call Format.Config.addUtilsToPrototype to be defined.
The zero-based index position of the insertion.
The string to insert.
A new string that is equivalent to the instance, but with insertValue inserted at position startIndex.
Returns a new string of a specified length in which the beginning of the current string is padded with spaces or with a specified character.
Must call Format.Config.addPaddingToPrototype to be defined.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A padding character. Defaults to Padding.Options.paddingChar.
Returns a new string of a specified length in which the ending of the current string is padded with spaces or with a specified character.
Must call Format.Config.addPaddingToPrototype to be defined.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A padding character. Defaults to Padding.Options.paddingChar.
Generated using TypeDoc
Extends the built-in javascript
String
object's prototype.Various Format.Config methods can be called in order to access the additional definitions, see each method for more details.