getChar {FastUtils}R Documentation

Get a Character at a Specific Index

Description

This function retrieves a character at a specific index from a string.

Usage

getChar(x, index)

Arguments

x

A character string.

index

The index of the character to retrieve.

Value

The character at the specified index.

Examples

# Get the character at index 2
getChar("hello", 2)

[Package FastUtils version 0.1.1 Index]