Split() function

October 23, 2007 at 7:31 am | In Crystal Report | 2 Comments

Using split() function with array in crystal report

// 1) To return single element value in string
local stringVar array ;
local stringVar returnValue;

:=Split({},’;'); // Split(,delimeter);

returnValue:=[0];

// 2) To return all elements in string
local numbervar asize := ubound();
local numbervar x;
local stringvar returnValue:=”";

for x := 1 to asize do
(
returnValue := returnValue & [x] & ” “;
);

returnValue;

Hello world!

October 22, 2007 at 7:07 am | In Uncategorized | 1 Comment

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

« Previous Page

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.