handle_text_input: handle_text_input helper function

View source: R/utils.R

handle_text_inputR Documentation

handle_text_input helper function

Description

Internal function to remove punctuation and unneeded stuff from user inputs with regular expressions.

Usage

handle_text_input(textinput)

Arguments

textinput

A character string with the textinput to perform these predefined regular expressions on.

Value

This function returns a cleaned up character string, limited to a maximum of 15 chars.

Examples

textinput <- "This is a dirty! text."
handle_text_input(textinput)


kapsner/PCRBiasCorrection documentation built on June 15, 2025, 4:14 a.m.