getUuidVersion
Get the version number from a UUID string. See Chapter 38.
uuid(required): UUID string
bash
echo '{"id": "550e8400-e29b-41d4-a716-446655440000"}' | utlx -e 'getUuidVersion($input.id)'
# 4utlx
{
version: getUuidVersion($input.correlationId)
}