|
of_isempty
|
|
Full name
|
pfc_n_cst_string.of_isempty
|
Access
|
public
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
public function boolean of_isempty(string)
|
public function boolean of_isempty (string as_source);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_IsEmpty
//
// Access: public
//
// Arguments:
// as_source The source string.
//
// Returns: Boolean
// True if the string has a lenght of 0 or is NULL.
//
// Description: Determines whether a string has a lenght of 0 or is NULL.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
if IsNull(as_source) or Len(as_source)=0 then
//String is empty
Return True
end if
//String is Not empty
return False
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.len |
systemfunctions
|