delim
From DavinciWiki
(Redirected from Delim)
|
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Return chosen column from delimited text
Arguments and Return Values Arguments: a text object, a deliminator and a count Return Value: a text object containing a specified column of the input
Usage Syntax: delim(object = TEXT, delim = STRING, count = INT) Delim() returns collumn count as defined by delimiter delim from object. The collumn is returned as a TEXT object with the same number of rows as object.
Examples dv> a
Text Buffer with 5 lines of text
1: 1,2,3,4,5,6,7,8,9,10
2: 1,2,3,4,5,6,7,8,9,10
3: 1,2,3,4,5,6,7,8,9,10
4: 1,2,3,4,5,6,7,8,9,10
5: 1,2,3,4,5,6,7,8,9,10
dv> b = delim(a,",",4)
Text Buffer with 5 lines of text
1: 4
2: 4
3: 4
4: 4
5: 4
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 03-23-2006 |