Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Much like the Utility function in OpenInsight, the SRP_String function provides multiple services which are identified in the Service parameter. The services are:

ServiceDescription
CompareCompares two variables as strings. See also EQ, EQC, NE, NEC, LT, LTC, LE, LEC, GT, GTC, GE, and GEC (Added in 4.2.6)
DetokenizeCodeConverts an array of BASIC+ tokens into a string of BASIC+ code that can be compiled.
GetHeightCalculates the height a word-wrapped string would need given a certain font and width limit.
GetWidthCalculates the width a string would need given a certain font.
TokenizeCodeParses a string containing BASIC+ into an array of discrete BASIC+ tokens.
TrimA more advanced trim operation for OI strings.

Click on the service names above to read more details.