Skip to content

SARUtils

Latest
Compare
Choose a tag to compare
@stiana stiana released this 08 Aug 17:53
· 3 commits to main since this release

First release of the SARUtils library is the concater.

Quick example:

VAR
  fbConcater : FB_Concater;
  stringResult : STRING;

  myInt : INT := 123;
  myReal : REAL := 45.67;
  myWord : WORD := 16#ABCD;
  myString : STRING := 'example';
  myBool : BOOL := TRUE;
END_VAR


fbConcater.Clear().V(myInt).L('/').V(myReal).L('/').V(myBool).L('/').V(myWord).L('/').V(myString);
stringResult := fbConcater.GetString(); // '123/45.67/TRUE/43981/example'