Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
TESS_GEAR #1
removing empty value
<cfset variables.orgidxlist = ValueList(FindOrgIDX.orgidx)>
If I have values of ", , , 89, 32, ,34" in variables.origdxlist, how
can I get rid of the empty values from there? The position of the empty
vales in there can be any positions.
So, my output will be "89,32,34"
TESS_GEAR Guest
-
#25885 [Opn->Csd]: mail() causes apache2 to crash when message is empty, and headers is non-empty
ID: 25885 Updated by: sniper@php.net Reported By: ben at krackeler dot com -Status: Open +Status: ... -
#25885 [NEW]: mail() causes apache2 to crash when message is empty, and headers is non-empty
From: ben at krackeler dot com Operating system: WinXP PHP version: 4.3.3 PHP Bug Type: Mail related Bug description: ... -
[PHP] Removing empty array values.
> On Mon, 18 Aug 2003 08:03:25 -0400, you wrote: This will remove the empty values and re-index the array so there are no "holes". $new_array... -
Removing empty array values.
How do I remove empty array values? -- - Zavaboy zavaboy@hotmail.com www.zavaboy.com -
Removing desktop icon from one account is removing from all accounts
Using XP Professional. I want the Guest account to have only a few icons. The other two accounts should have many more. When I remove the icon... -
CFDEBUG #2
Re: removing empty value
I'm sure there are other ways to do it. One way is using list and array
functions
<cfset myarray = listtoarray(variables.orgidxlist)>
<cfset temp=arrayresize(myarray,listlen(variables.orgidxl ist))>
<cfset variables.orgidxlist = arraytolist(myarray)>
CFDEBUG Guest



Reply With Quote

