Home Contents | # v4kf.emvLookup | V4kf | Core4 Lua Event System

## SYNOPSIS

v4kf.emvLookup(data, tag)

## DESCRIPTION

Searches data, which must be TLV encoded according to ISO7816-4, for tag and returns the contained data as a string.

## RETURN VALUE

Returns the requested data on success, or nil if not found.

## EXAMPLE

> > >
data = string.fromhex("5F2D02656E") lang = v4kf.emvLookup(data, 0x5F2D) print(lang)
en

## SEE ALSO

v4kf.emvDecode()