Table of Contents

TTMSFNCUtils.IPos Method

Finds a substring using a case-insensitive comparison.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function IPos(su,s:string): Integer;

Parameters

Name Description
su Substring to search for.
s String to search within.

Returns

1-based position of the substring, or 0 when not found.