IsLegalUTF8 (FUN) ¶ FUNCTION IsLegalUTF8 : BOOL This method checks if a given string contains of valid UTF-8 characters. InOut: Scope Name Type Comment Return IsLegalUTF8 BOOL Input source POINTER TO BYTE Pointer to the string to check length INT Length of the string to check
IsSpaceCharacter (FUN) ¶ FUNCTION IsSpaceCharacter : BOOL see https://docs.microsoft.com/de-de/dotnet/api/system.char.iswhitespace?view=net-6.0#system-char-iswhitespace(system-char ) InOut: Scope Name Type Return IsSpaceCharacter BOOL Input wCharacter WORD
Unicode ¶ StrCaseCmpW (Function) StrCaseFindW (Function) StrCmpW (Function) StrConcatW (Function) StrCpyW (Function) StrDeleteW (Function) StrFindW (Function) StrIsNullOrEmptyW (Function) StrLenW (Function) StrMidW (Function) StrPadLeftW (Function) StrPadRightW (Function) StrReplaceW (Function) StrTrimEndW (Function) StrTrimStartW (Function) StrTrimW (Function) WCharToUpper (Function)
StrCaseCmpW (FUN) ¶ FUNCTION StrCaseCmpW : INT Does a case insensitive comparison of two wstrings. Case insensitive is intended only for the comparison between two ASCII characters within the strings Return values: 0 -> the strings are equal -1 -> pwd1 is less than pwd2 1 -> pwd1 is larger than pwd2 InOut: Scope Name Type Return StrCaseCmpW INT Input pwd1 POINTER TO WORD pwd2 POINTER TO WORD
StrCaseFindW (FUN) ¶ FUNCTION StrCaseFindW : INT Same semantics as Find from the standard.library. A null pointer will lead to a return of -1 InOut: Scope Name Type Comment Return StrCaseFindW INT Input pst1 POINTER TO WSTRING(255) pst2 POINTER TO WSTRING(255) uiSearchStart UINT a position relative to 1, where the search starts
StrCmpW (FUN) ¶ FUNCTION StrCmpW : INT Does a case sensitive comparison of two strings Return values: 0 -> the strings are equal -1 -> pwd1 is less than pwd2 1 -> pwd1 is larger than pwd2 InOut: Scope Name Type Return StrCmpW INT Input pwd1 POINTER TO WORD pwd2 POINTER TO WORD
StrConcatW (FUN) ¶ FUNCTION StrConcatW : BOOL This function concatenates pstFrom to pstTo if the iBufferSize from pstTo is big enough. It will return FALSE and does no concatenation if one of the strings is NULL or the buffer size is not big enough. InOut: Scope Name Type Comment Return StrConcatW BOOL Input pstFrom CharBufferPtr simply a pointer to byte pstTo CharBufferPtr simply a pointer to byte iBufferSize INT the buffer size of pstTo
StrCpyW (FUN) ¶ FUNCTION StrCpyW : DINT Does a strcpy from the source string cbsSource to cbsTarget. cbsTarget’s buffer must not be NULL! Will return the number of copied characters including the terminating ‘\0’ or “\0” InOut: Scope Name Type Comment Return StrCpyW DINT Input pBuffer CharBufferPtr iBufferSize DINT the size in bytes of the buffer pStr CharBufferPtr the source as a pointer to string
StrDeleteW (FUN) ¶ FUNCTION StrDeleteW Deletes <iLength> characters of <pwst>, beginning at the <iPosition>-th character position. <iPosition> = 1 is the first character. InOut: Scope Name Type Input pwd POINTER TO WORD iLength INT iPosition INT
StrFindW (FUN) ¶ FUNCTION StrFindW : INT Same semantics as Find from the standard.library. A null pointer will lead to a return of -1 InOut: Scope Name Type Comment Return StrFindW INT Input pst1 POINTER TO WSTRING(255) pst2 POINTER TO WSTRING(255) uiSearchStart UINT a position relative to 1, where the search starts