JVCL Help:JvStrSplit

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Split a string into an array of strings. Result is stored in a standard Pascal String Array (Array of String).

run\JvCsvParse.pas


Pascal

 run\JvCsvParse.pas
 functionJvStrSplit(constInString: string; constSplitChar: Char; constQuoteChar: Char; varOutStrings: arrayofstring; MaxSplit: Integer): Integer;


Parameters

Parameters Description
const InString: string Original string.
const SplitChar: Char What character to split using. Usually a Tab or a Comma.
const QuoteChar: Char Description for this parameter
var OutStrings: array of string Array of String. Results.
MaxSplit: Integer Set MaxSplit to no larger than the maximum size of your OutStrings array.

run\JvCsvParse.pas


Description

Split a string into an array of strings.

run\JvCsvParse.pas


About

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