Validate the name of an object.

Share:

Description

Validates user input for names of objects.

Usage

1

Arguments

name

Passed in string which is tested for validity (can not contain illegal characters, be an empty string etc.).

Note

A valid name is any that has more than 0 characters, and contains no special characters.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian