fromMultiString

Use this method when reading data from the registry using ssCore.Registry.getValue that is in the REG_MULTI_SZ format.


Availability:

First available in version 3.5 build 314.

Not available in ActionScript 3.


Usage:

mszArr = StringUtils.fromMultiString(registryValue)

mszArr - Array - An array of strings.


Parameters:

registryValue - String - A serialized string returned from ssCore.Registry.getValue.


Notes:

See ssCore.Registry.getValue, ssCore.Registry.setValue, and StringUtils.toMultiString.


Examples:

import northcode.utils.StringUtils;

ssCore.init();
ssDefaults.synchronousCommands = true;

var r = ssCore.Registry.getValue({rootKey:"HKEY_CURRENT_USER", subKey:"Software\\Test", valueName:"MyValue"});

var mszArr = StringUtils.fromMultiString(r.result);

ssDebug.trace(mszArr[0]);