> Overview

To deal with strings GCW Script has implemented the following functions:

  • ASC – returns the ASCII value of a character
  • CHAR – returns the charactor of the ASCII value
  • LEFT – returns the left part of a string
  • LEN – returns the length of a string
  • MID – returns the mid part of a string
  • PADCENTER – Adding characters to a text from the left and right up to a certain length
  • PADLEFT – Supplement a text from the left with characters up to a certain length
  • PADRIGHT – Supplement a text from the right with characters up to a certain length
  • RIGHT – returns the rigth part of a string
  • STR – converts a number to a string
  • SUBST – replaces strings within a string
  • VAL – converts a string to a number