charAt#

swordfish.function.charAt()#

Return the character in X at the position specified by Y.

Parameters:
  • X (Constant) – A STRING scalar/vector.

  • Y (Constant) – An integer scalar/vector. If Y is a vector, it must be of the same length as X.

Returns:

A scalar/vector of data type CHAR.

Return type:

Constant