Returns the character at the specified index.

@access public

@param int $index The index of the character

@return string the character at the specified index of this string.
@throws StringIndexOutOfBoundsException
325738
public function charAt( $index ) {
		if ( $index < 0 || $index >= $this->length() ) {
			throw new GStringIndexOutOfBoundsException( $index );
		}

		return $this->value[ $index ];
	}
483544
public function getNameByIndex($index)
    {
        return isset($this->names[$index]) ? $this->names[$index] : null;
    }
180538
public function get(int $index): string
    {
        return $this->handle->lIndex($this->name, $index);
    }
1281239
public static function getPathSegment(int $index = 0)
    {
        $pathComponents = self::getPathSegments();
        return ArrayUtils::getArrayValueForKeyOrDefault($pathComponents, $index, false);
    }
1304453
public function getSearchIndex($index)
    {
        return isset($this->search[$index]) ? $this->search[$index] : null;
    }
90838
public function getByIndex(int $index) : string
        {
                $value = $this->_redis->lindex($this->_key, $index);
                return !empty($value)?$value:'';
        }
1228100
public function offsetGet($index)
    {
        if (!array_key_exists($index, $this->data)) {
            throw InvalidArgumentException::format(
                    'Invalid array object index: expecting one of (%s), %s given',
                    Debug::formatValues(array_keys($this->data)), is_string($index) ? "'{$index}'" : $index
            );
        }

        return $this->data[$index];
    }
642462
public function get($index)
    {
        if (null === $index) {
            throw new Exception\InvalidArgumentException('The specified key name is null');
        }

        if (!$this->has($index)) {
            throw new Exception\OutOfBoundsException(sprintf('Index "%s" is out of bounds', $index));
        }

        return $this->collections[$index];
    }
1308075
public function at( $index ) {
			if ( is_int( $index ) ) {
				if ( $index >= 0 && $index < $this->len ) {
					return $this->items[ $index ];
				} else {
					throw new \browserfs\Exception('Index out of bounds!');
				}
			} else {
				throw new \browserfs\Exception('Invalid argument $index: Expected int');
			}
		}
192771
public function get($index)
    {
        if (!$this->has($index)) {
            throw new Exception\UndefinedKeyException($index);
        }

        return $this->value[$index];
    }
1128922
public function getNumber(int $index): string
    {
        if ($index >= count($this->numbers)) {
            throw new \UndefinedOffsetException();
        }
        return $this->numbers[$index];
    }
436830
public static function at($string, $index)
    {
        if (self::length($string) >= ($index + 1)) {
            return $string[$index];
        }

        exception(StringOutIndexException::class);
    }
176897
protected function getValue($index)
    {
        if ($this->values[$index] === null) {
            return null;
        }
        return $this->values[$index]->value;
    }
318202
public function offsetGet($index)
    {
        foreach ((array)$this as $i => $element) {
            $i = (string)$i;
            if (is_string($element)) {
                continue;
            }
            if ($element instanceof Label
                && ($element->getElement()->name() == $index
                    || $i == $index
                )
            ) { 
                return $element;
            }
            if ($element->name() == $index || $i == $index) {
                return $element;
            }
            if ($element instanceof Element\Group
                and $found = $element[$index]
            ) {
                return $found;
            }
        }
        return null;
    }
1117440
public function getTokenAt($index) {
        // Get token from behind
        if ($index < 0) {
            $index = count($this->tokens) + $index;
        }

        return $this->tokens[$index];
    }
908641
public char getCharacter(final int index) {
		if (index > characters.length) {
			throw new IndexOutOfBoundsException(index + "@" + characters.length + " does not fit");
		}
		return characters[index];
	}
34672
public function getValueFromIndex( $index )
	{
		$dimension	= $this->getDimension();
		if( $index < 0 )
			throw new OutOfRangeException( 'Vector Index ('.$index.') must be greater than 0.' );
		if( $index >= $dimension )
			throw new OutOfRangeException( 'Vector Index ('.$index.') must be lower than Vector Dimension ('.$dimension.').' );
		return $this->values[$index];
	}