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)
StringVector.GetString (METH) ¶ METHOD GetString : STRING(VECTOR_STRING_LEN) InOut: Scope Name Type Return GetString STRING(VECTOR_STRING_LEN) Input udiIndex UDINT Output udiResult UDINT
StringVector.RemoveAt (METH) ¶ METHOD RemoveAt : UDINT InOut: Scope Name Type Return RemoveAt UDINT Input udiIndex UDINT
UtilTokenizer (FB) ¶ FUNCTION_BLOCK UtilTokenizer Properties: CurrentPosition Methods: Initialize NextToken Structure: CurrentPosition (Property) Initialize (Method) NextToken (Method)
UtilTokenizer.CurrentPosition (PROP) ¶ PROPERTY CurrentPosition : INT
UtilTokenizer.Initialize (METH) ¶ METHOD Initialize : BOOL InOut: Scope Name Type Return Initialize BOOL Input pstr POINTER TO STRING strDelims STRING
UtilTokenizer.NextToken (METH) ¶ METHOD NextToken : STRING(256) InOut: Scope Name Type Return NextToken STRING(256) Output bEnd BOOL iTokenStartOffset DINT iTokenEndOffset DINT