String ng.random_id ([String str = 'random']) vs. 1.1.0 Full+Lite

This function will generate a random id in the format ng_str_####_####

Parameters

String str (Optional - Default: 'random') vs. 1.1.0 Full+Lite
An optional string to use in the returned id.

Return

String Required vs. 1.1.0 Full+Lite
A random id string in the following format:
ng_str_####_####

Where str is the provided parameter and the #### are random numbers.

Examples

Using ng.random_id(str)
Demo: