Returns generated random string, contained only of ascii cars {\ttfamily a-\/z} and {\ttfamily 0-\/1}. By default returns string of length {\ttfamily 10}.


\begin{DoxyCode}{0}
\DoxyCodeLine{const random = require("{}ext/string/random"{});}
\DoxyCodeLine{}
\DoxyCodeLine{random(); // "{}upcfns0i4t"{}}
\DoxyCodeLine{random(\{ length: 3 \}); // "{}5tw"{} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9896}{}\doxysection{Supported options\+:}\label{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9896}
\hypertarget{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9897}{}\doxysubsection{$<$tt$>$is\+Unique\+: false$<$/tt$>$}\label{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9897}
Ensures generated string is unique among ones already returned.

{\itshape Note\+: When not applying this setting, accidental generation of same string is still highly unlikely. Provided option is just to provide a mean to eliminate possibility of an edge case of duplicate string being returned}\hypertarget{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9898}{}\doxysubsection{$<$tt$>$length\+: 10$<$/tt$>$}\label{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9898}
Desired length of result string\hypertarget{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9899}{}\doxysubsection{$<$tt$>$charset\+: null$<$/tt$>$}\label{md_sfcode_node_modules_ext_docs_string_random_autotoc_md9899}
Fixed list of possible characters


\begin{DoxyCode}{0}
\DoxyCodeLine{random(\{ charset: "{}abc"{} \}); // "{}bacbccbbac"{} }

\end{DoxyCode}
 