uuidv4

  1. Lucas Siqueira

    [B4X] UUID versão 4

    Sub UUIDv4 As String Dim sb As StringBuilder sb.Initialize ' Definindo o formato do UUID com 5 grupos (8, 4, 4, 4, 12 caracteres, respectivamente) For Each stp As Int In Array(8, 4, 4, 4, 12) ' Adiciona um hífen (-) entre os grupos, exceto antes do primeiro grupo If...
  2. mcqueccu

    Android Code Snippet [B4X] UUID version 4 Generator

    Extracted from this Thread: https://www.b4x.com/android/forum/threads/guid-vs-uuid-can-i-use-guid-as-uuid.110970/#post-692302 Sub UUIDv4 As String Dim sb As StringBuilder sb.Initialize For Each stp As Int In Array(8, 4, 4, 4, 12) If sb.Length > 0 Then sb.Append("-") For n...
Top