StringBuilder.ReserveSpace (METH) ¶ METHOD ReserveSpace : UDINT InOut: Scope Name Type Return ReserveSpace UDINT Input udiNewSize UDINT
StringBuilder.prvAppend (METH) ¶ METHOD prvAppend : UDINT InOut: Scope Name Type Return prvAppend UDINT Input pst POINTER TO BYTE iLen DINT
StringFunctions ¶ PStrCat (Function) PStrCmp (Function) PStrICmp (Function) PStrIFind (Function) PStrLen (Function) PStrLenUntil (Function) PStrToUpper (Function)
PStrCat (FUN) ¶ FUNCTION PStrCat : DINT InOut: Scope Name Type Return PStrCat DINT Input pstDest POINTER TO STRING pstSrc POINTER TO STRING diDestSize DINT
PStrCmp (FUN) ¶ FUNCTION PStrCmp : INT Will return -1 if pstr1^ < pstr2^, 0 if they are equal and +1 if pstr1^ > pstr2^ InOut: Scope Name Type Return PStrCmp INT Input pstr1 POINTER TO STRING pstr2 POINTER TO STRING
PStrICmp (FUN) ¶ FUNCTION PStrICmp : INT Will return -1 if pstr1^ < pstr2^, 0 if they are equal and +1 if pstr1^ > pstr2^ InOut: Scope Name Type Return PStrICmp INT Input pstr1 POINTER TO STRING pstr2 POINTER TO STRING
PStrIFind (FUN) ¶ FUNCTION PStrIFind : INT Same semantics as Find from the standard.library. A null pointer will lead to a return of -1 If pst1 is too long, -2 will be returned If pst2 is too long, -3 will be returned InOut: Scope Name Type Return PStrIFind INT Input pst1 POINTER TO STRING(255) pst2 POINTER TO STRING(255)
PStrLen (FUN) ¶ FUNCTION PStrLen : DINT InOut: Scope Name Type Return PStrLen DINT Input pString POINTER TO STRING
StringVector (FB) ¶ FUNCTION_BLOCK StringVector EXTENDS BaseVector Properties: Capacity , inherited from BaseVector Count , inherited from BaseVector Methods: AddString GetString RemoveAt Clear , inherited from BaseVector InitMemory , inherited from BaseVector RemoveLast , inherited from BaseVector ReserveSpace , inherited from BaseVector proAfterAlloc , inherited from BaseVector proRemove , inherited from BaseVector Structure: AddString (Method) GetString (Method) RemoveAt (Method)
StringVector.AddString (METH) ¶ METHOD AddString : UDINT InOut: Scope Name Type Return AddString UDINT Input strVal STRING(VECTOR_STRING_LEN)