Find

Method

Searches for occurences of a pattern in the string

Product: 

Class: 

Warning

uCalc API Preview Release Notice:The uCalc engine has successfully transitioned to modern cross-platform environments.The next phase envolves some structural changes, performance optimizations, and API refinements.The API is subject to breaking changes prior to the stable release. Please evaluate the preview version thoroughly before production use.

Syntax

Find(string, int)

Parameters

Pattern
string
Pattern
Nth
int
(Default = 1)
Nth match

Return

String

This uCalc string object

Remarks

Searches for occurrences of a pattern in the string. Once this operation is executed, you may retrieve any of the matches with Match(n).

Examples

This page last modified on: 

8/21/2026