Parser Format Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Overload List

  NameDescription
Protected methodStatic memberFormat(ErlList)
Substitute variables in a string contained in args[0]. The substitution values begin with args[1]
Protected methodStatic memberFormat(String, ErlList)
Substitute variables in a fmt string
Protected methodStatic memberFormat(String,  Object )
Substitute variables in a fmt string. The following variables are supported:
~v
Take next argument as string. If the argument is ErlAtom, it's name is used. If the argument is ErlVar it's name is used with the type if the fmt string doesn't have the variable type specification (e.g. A::integer()), or the name is used verbatim, if the variable type is present in the format string. Finally if the argument is not ErlAtom and ErlVar, it's inserted as string verbatim
~w
Format next argument as string
~i
Skip next argument
~c
Format next argument as the character
Back to Top
See Also