Lucee and UUID - Change segment format?

Hi guys,

According to the documentation Lucee creates UUID’s with createUUID()
according to the 4 segment standard. (8-4-4-16)
Example: xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx

Is there any way to change this to five segments (8-4-4-4-12) ?
Example: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

According to http://en.wikipedia.org/wiki/Universally_unique_identifier it
seems this is inherited from ACF (Adobe ColdFusion).

you can use the CreateGUID() function instead, or do some simple string
modification to “move” the hyphens.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 3/23/2015 7:44 AM, David Eurenius wrote:

Hi guys,

According to the documentation Lucee creates UUID’s with createUUID()
according to the 4 segment standard. (8-4-4-16)
Example: xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx

Is there any way to change this to five segments (8-4-4-4-12) ?
Example: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

According
to http://en.wikipedia.org/wiki/Universally_unique_identifier it seems
this is inherited from ACF (Adobe ColdFusion).

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/fb7ada16-f65b-49a1-8a22-dfe938997534%40googlegroups.com
https://groups.google.com/d/msgid/lucee/fb7ada16-f65b-49a1-8a22-dfe938997534%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.