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

@BoxBIF @BoxBIF(alias="FindNoCase") @BoxMember(type=STRING,name="Find",objectArgument="string") @BoxMember(type=STRING,name="FindNoCase",objectArgument="string") public class Find extends BIF
  • Constructor Details

    • Find

      public Find()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Finds the first occurrence of a substring in a string, from a specified start position.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      Returns the position of the first occurrence of the substring. If the substring is not found, returns zero.