Compress (FUN) ¶ FUNCTION Compress : BOOL InOut: Scope Name Type Return Compress BOOL Input pbyCompressed POINTER TO BYTE pbyBase POINTER TO BYTE pbyName POINTER TO BYTE uiMaxSize UINT
IsEnglishLanguageCode (FUN) ¶ FUNCTION IsEnglishLanguageCode : BOOL InOut: Scope Name Type Return IsEnglishLanguageCode BOOL Input psLanguage POINTER TO STRING
ParseArrayAccess (FUN) ¶ FUNCTION ParseArrayAccess : UDINT Helper function for CmpArrayAccess InOut: Scope Name Type Return ParseArrayAccess UDINT Input pSt POINTER TO BYTE udiLen UDINT Inout a ARRAY [0..9] OF DINT
StartsWithCI (FUN) ¶ FUNCTION StartsWithCI : BOOL Returns if the string pS starts with the string pPrefix, ignoring case. InOut: Scope Name Type Comment Return StartsWithCI BOOL Input pS POINTER TO BYTE The string to test for a prefix udiLenS UDINT The length og pS pPrefix POINTER TO BYTE The prefix to test for udiLenPrefix UDINT The length of the prefix
StrCmpAlphabeticallyCI (FUN) ¶ FUNCTION StrCmpAlphabeticallyCI : INT Helper function for CmpInstancePaths: compares two strings alphabetically, ignoring case. See ASCII_to_SortIdx for the exact sorting order of all ASCII characters. Returns a value > 0 if identifier 1 comes after identifier 2, 0 if they are equal, and a value < 0 if identifier 1 comes before identifier 2. InOut: Scope Name Type Return StrCmpAlphabeticallyCI INT Input st1 STRING(512) st2 STRING(512)
StrLen (FUN) ¶ FUNCTION StrLen : DINT InOut: Scope Name Type Return StrLen DINT Input pSt POINTER TO BYTE
StringLiteral_To_String (FUN) ¶ FUNCTION StringLiteral_To_String : UDINT InOut: Scope Name Type Return StringLiteral_To_String UDINT Input pbyDst POINTER TO BYTE pbySrc POINTER TO BYTE udiDstSize UDINT
StringTokenizer (FB) ¶ FUNCTION_BLOCK StringTokenizer Function block that tokenizes a string, given a delimiter. Note: empty tokens (caused by consecutive delimiters) are returned. InOut: Scope Name Type Input bEnable BOOL pSt POINTER TO BYTE diLen DINT byDelim BYTE Output bHasToken BOOL pStToken POINTER TO BYTE diLenToken DINT
String_To_StringLiteral (FUN) ¶ FUNCTION String_To_StringLiteral : UDINT InOut: Scope Name Type Return String_To_StringLiteral UDINT Input pbyDst POINTER TO BYTE pbySrc POINTER TO BYTE udiDstSize UDINT
String_To_TypeClass (FUN) ¶ FUNCTION String_To_TypeClass : TypeClass InOut: Scope Name Type Return String_To_TypeClass TypeClass Input ps POINTER TO STRING(10)