Version

UltraCalcFunctionFind Class

Finds one piece of text within another piece of text.
Syntax
'Declaration
 
Public Class UltraCalcFunctionFind 
   Inherits BuiltInFunctionBase
public class UltraCalcFunctionFind : BuiltInFunctionBase 
Remarks

FIND(text_to_find, text_to_search, starting_point)

Text_to_find is the piece of text you want to find. It can be a reference (for example, a NamedReference to a constant text string or a CalcSettings reference to a TextBox on the form). It should be shorter in length than the text_to_search.

Text_to_search is the piece of text you want to search for text_to_find within. It's commonly a reference to a text string that you want to search.

Starting_point is the one-based character position inside of text_to_search at which UltraCalc will begin searching. This argument is optional and if omitted, the search will begin at the first character.

If text_to_find is not found this function returns a Value error, otherwise it returns the starting position of text_to_find within text_to_search.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also