IndexOfBytes constructor
      
      IndexOfBytes(
    
- dynamic string,
- dynamic substring, [
- dynamic start,
- dynamic end,
Creates $indexOfBytes operator expression
Searches a string for an occurence of a substring and returns the
UTF-8 byte index (zero-based) of the first occurence. If the substring
is not found, returns -1.
- string- Can be any valid expression as long as it resolves to a string. If the string expression resolves to a value of- nullor refers to a field that is missing, $indexOfCP returns- null. If the string expression does not resolve to a string or- nullnor refers to a missing field,- $indexOfBytesreturns an error.
- substring- Can be any valid expression as long as it resolves to a string.- start- Optional. An integral number that specifies the starting index position for the search. Can be any valid expression that resolves to a non-negative integral number.- end- Optional. An integral number that specifies the ending index position for the search. Can be any valid expression that resolves to a non-negative integral number. If you specify a- endindex value, you should also specify a- startindex value; otherwise,- $indexOfBytesuses the- endvalue as the- startindex value instead of the- endvalue.
Implementation
IndexOfBytes(string, substring, [start, end])
    : super('indexOfBytes', AEList([string, substring, start, end]));