strPrefix

Modified on Thu, 24 Aug 2023

Description

Use this function to return the prefix part of a string variable at the specified index.

Syntax

strPrefix(string, index)

Returns

Return ValueDescription
StringReturns the prefix part of the string variable at the specified index.

Sample

ExampleResultDescription
strPrefix('aa.bb.cc', 2)aaReturns 'aa' as the prefix part of the string 'aa.bb.cc' at index 2.

To view all Jiffy functions, click here.

See Also