47 if ($oStr->strstr($sInField,
'"')) {
48 return '"'.str_replace(
'"',
'""', $sInField).
'"';
49 } elseif ($oStr->strstr($sInField,
';')) {
50 return '"'.$sInField.
'"';
68 $sString = trim( $sString );
72 $sString = $oStr->preg_replace(
"/[ \t\n\r]+/",
" ", $sString );
73 if ( $oStr->strlen( $sString ) > $iLength && $iLength != -1 ) {
74 $sString = $oStr->substr( $sString, 0, $iLength );
77 $sString = $oStr->preg_replace(
"/,+$/",
"", $sString );
91 if ( $oStr->hasSpecialChars( $sSearchStr ) ) {
92 return $oStr->recodeEntities( $sSearchStr,
true, array(
'&' ), array(
'&' ) );