of_gettag


pfcapsrv.pbl   >   pfc_n_cst_security   >   of_gettag   

Full name pfc_n_cst_security.of_gettag
Access protected
Extend of string
Return value string
Prototype protected function string of_gettag(string)

Name Datatype
No Data

Name Datatype
ls_value string

protected function string of_gettag (string as_tag);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetTag
//
//	Access:  protected
//
//	Arguments : as_tag : string; Tag value
//
//	Returns:  string; 
//
//	Description:  parses the passed string. If the string is empty it returns an empty string
//		if the string contains a keyword that matches what is in ics_keyword 
//			(default is 'microhelp', default seperator is ';') then the value for the keyword is returned
//		if none of the aboove is true then the original string is returned
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
// 6.0 	Marked obsolete
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
string ls_value
if as_tag = '' then return ''
ls_value = inv_string.of_GetKeyValue(as_tag,is_keyword,is_separator)
if ls_value = '' then ls_value = as_tag

return ls_value
end function

     
Name Owner
pfc_n_cst_security.of_gettype pfc_n_cst_security

     
Name Owner
pfc_n_cst_string.of_getkeyvalue pfc_n_cst_string

     
Full name
No Data

     
Name Scope
No Data