randString: Generate a random string

View source: R/strings.R

randStringR Documentation

Generate a random string

Description

Create a random string of specified length

Usage

randString(n, length)

Arguments

n

number of strings to create

length

length of string to create

Value

one more random string of specific length

Examples

# Task 1: create 1 random string string of length 5
randString(n = 1, length = 5)

# Task 2: create 5 random string string of length 10
randString(n = 5, length = 10)


# Task 3: create 4 random string string of length 16
randString(n = 4, length = 16)


quickcode documentation built on April 11, 2025, 5:49 p.m.