Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

StrEndsWith

  • Last UpdatedJul 18, 2023
  • 1 minute read

Verifies whether the given string ends with a specific string.

Syntax

StrEndsWith(STRING sSource, STRING sSearchTerm)

sSource

The source string to check.

sSearchTerm

The string to search for in the source string.

Return Value

Returns TRUE if sSource ends with sSearchTerm, otherwise returns FALSE.

Example

STRING sTest = "MyPage_UHD4K";

INT bResult = StrEndsWith("MyPage_UHD4K", "_UHD4K");

StrListContainsItem, StrSplit, StrTruncFontTooltip

See Also

String Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in