StringIndexOf

Parent Previous Next

Full Library / Math Operator / String Operation /  StringIndexOf
Block Name: StringIndexOf


Output the index of a searchFor string contained in a given inText. The search begins at the index given by startIndex and ends at either the end or the beginning of the string, depending on whether searchForwards is true or false, respectively. If the string is not found, then the output is -1. If the string is found, then the output is the index of the start of the string, where index 0 refers to the first character in the string.


Field Detail

ignoreCase

public VisualSim.data.expr.Parameter ignoreCase


inText

public VisualSim.actor.parameters.PortParameter inText


output

public VisualSim.actor.TypedIOPort output


searchFor

public VisualSim.actor.parameters.PortParameter searchFor


searchForwards

public VisualSim.data.expr.Parameter searchForwards


startIndex

public VisualSim.actor.parameters.PortParameter startIndex



Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents