handle_text_input {rBiasCorrection}R 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)


[Package rBiasCorrection version 0.3.4 Index]