cleanStrings: Drop spaces and odd characters. Use to ensure generated file...

View source: R/NMsim_helpers.R

cleanStringsR Documentation

Drop spaces and odd characters. Use to ensure generated file names are usable.

Description

Drop spaces and odd characters. Use to ensure generated file names are usable.

Usage

cleanStrings(x)

Arguments

x

a string to clean

Value

A character vector

Examples

NMsim:::cleanStrings("e w% # ff!l3:t,3?.csv")
NMsim:::cleanStrings("3!?:#;<>=, {}|=g+&-
.csv")

NMsim documentation built on Nov. 2, 2024, 9:06 a.m.