Class StringBind

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.string.StringBind

@BoxBIF @BoxMember(type=STRING_STRICT, name="bind") public class StringBind extends BIF
  • Constructor Details

    • StringBind

      public StringBind()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      This BIF allows you to bind a string with placeholders to a set of values. Each placeholder is defined as ${placeholder-name} and can be used anywhere and multiple times in the string.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation