toCharArray#

swordfish.function.toCharArray()#

Split a string into a vector of the CHAR data type.

  • If X is a scalar, return a vector.

  • If X is a vector, return an array vector.

Parameters:

X (Constant) – A scalar/vector of the STRING/BLOB/SYMBOL data type.