# GT_CHAREVEN()

Return a string of all the characters in even positions

Syntax

  GT_CharEven(<cStr>) --> cRet

Arguments

  <cStr> - A character string to extract chars from

Returns

  <cRet> - A string of all the chars in even positions

Description

  Return a string consisting of all the characters in even positions in <cStr1>.
  NOTE: invalid parameters will return ""

Examples

          ? gt_CharEven("abcdefghijklm")             // prints "bdfhjl"

Status

  Ready

Files

  Library is libgt