Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Split values read from smart card.

Component Version macOS Windows Linux Server iOS SDK
SmartCard 8.5 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SmartCard.SplitValues"; Input )   More


Parameter Description Example
Input The hex encoded input string.


Returns JSON or error.


Split values read from smart card.
Files on smartcard can contain key/value data.
Returns JSON with an object containing numbers as text (key) and values as text.

Sample for JSON result:

"128":"MILLER, JOE",
Starting with version 10.0 we hex encode binary data instead of assuming it's UTF-8.


Split file data:

Set Variable [ $json ; Value: MBS("SmartCard.SplitValues"; Card::FileData) ]
If [ MBS("IsError") ]
    Set Field [ Card::JSON ; "" ]
    Set Field [ Card::JSON ; MBS("JSON.Colorize"; $json) ]
End If

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 19th October 2018, last changed 6th December 2019

SmartCard.SetAttribute - SmartCard.Status