JCL Help:MultiSzToStrings@TJclAnsiStrings@PAnsiMultiSz

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a list of null terminated strings to a string list.


Pascal

 procedure MultiSzToStrings(const Dest: TJclWideStrings; const Source: PWideMultiSz);
procedure MultiSzToStrings(const Dest: TStrings; const Source: PMultiSz);
procedure MultiSzToStrings(const Dest: TJclAnsiStrings; const Source: PAnsiMultiSz);


Parameters

Parameters Description
const Dest: TJclWideStrings The string list to receive the individual strings.
const Source: PWideMultiSz The source string to extract the items from.


Description

Source is assumed to be a list of strings, separated by a NULL character, terminated by a double NULL character. For example 'Project#0JEDI#0Rules#0#0'. The function takes this string and copies the individual strings to the string list. Thus, after executing this function with the above string the Dest list will contain the items 'Project', 'JEDI' and 'Rules'.


See Also

StringsToMultiSz FreeMultiSz


About

Unit

JclAnsiStrings


Donator

Marcel van Brakel


Notes

This function does not release the memory associated with Source.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page