Summary: Random functions for creating, manipulating and analyzing strings.

Function Summary
isNum Is the provided string a legal number?
isEml Is the provided string a properly-formatted email address?
trmChr Trim all contiguous instances of the provided character from the ends of a string
gtCd4V Get the provided value returned as a string, and suitable for insertion into code.


util_string.js: Overview

Random functions for creating, manipulating and analyzing strings.







TOP     util_string.isNum()

Is the provided string a legal number?

PARAMETERS

RETURNS

LEGAL EXAMPLES (both integers and decimals)

ILLEGAL EXAMPLES (both integers and decimals)

.

LEGAL EXAMPLES (decimals, but only after it is determined that the value is *not* an integer)

SIGNATURE

isNum(s_potential, bs_decimalAllowed)





TOP     util_string.isEml()

Is the provided string a properly-formatted email address?

A 'bad' email has any of the following characteruistics:

PARAMETERS

RETURNS

GOOD EXAMPLES

BAD EXAMPLES

SIGNATURE

isEml(s_potentialEmail)





TOP     util_string.trmChr()

Trim all contiguous instances of the provided character from the ends of a string

PARAMETERS

SIGNATURE

trmChr(c_harToTrim, s_tring)





TOP     util_string.gtCd4V()

Get the provided value returned as a string, and suitable for insertion into code.

PARAMETERS

RETURNS

SIGNATURE

gtCd4V(s_value)





























___RPLC___ vfjs_doc_footer ___RPLCZ___