|
of_arraytostring
|
|
Full name
|
pfc_n_cst_string.of_arraytostring
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
public function long of_arraytostring(string[],string,ref string)
|
public function long of_arraytostring (string as_source[], string as_delimiter, ref string as_ref_string);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_ArrayToString
//
// Access: public
//
// Arguments:
// as_source[] The array of string to be moved into a single string.
// as_Delimiter The delimeter string.
// as_ref_string The string to be filled with the array of strings,
// passed by reference.
//
// Returns: long
// 1 for a successful transfer.
// -1 if a problem was found.
//
// Description: Create a single string from an array of strings separated by
// the passed delimeter.
// Note: Function will not include on the single string any
// array entries which match an empty string.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 7.0 Redirect to the overloaded function version, which allows optional
// processing of an empty string. The default behavior is to dissallow
// empty string to remain backwards compatible. Call the 4 argument
// version of the function if the empty string processing is desired.
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
return of_arraytostring(as_source[], as_delimiter, FALSE, as_ref_string)
end function