Converts the value of objects to strings based on the formats specified and inserts them into another string.
A composite format string. See: https://msdn.microsoft.com/library/txafckwd.aspx
A list of arguments that contains zero or more objects to format.
A copy of the format string 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 another string.
An object that supplies culture-specific formatting information.
A composite format string. See: https://msdn.microsoft.com/library/txafckwd.aspx
A list of arguments that contains zero or more objects to format.
A copy of the format string 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 value instance.
Must call Format.Config.addUtilsToGlobals to be defined.
The string into which to insert.
The zero-based index position of the insertion.
The string to insert.
A new string that is equivalent to the value instance, but with insertValue inserted at position startIndex.
Indicates whether the specified string is undefined
, null
, ""
, or consists only of white-space characters.
Must call Format.Config.addUtilsToGlobals to be defined.
The string to test.
true
if the value parameter is undefined
, null
, ""
, or if value consists exclusively of white-space characters.
Generated using TypeDoc
Extends the built-in javascript
String
object's static API. The StringConstructor.format method exposes the core logic of the project.The Format.Config.addUtilsToGlobals method must be called in order to access any additional definitions.