Mar. 10th, 2015

scottobear: (Default)

Description

Removes duplicate values (if they exist) in a list.

Returns

List sans duplicate values

History

ColdFusion 10: Added this function

Syntax

ListRemoveDuplicates(list[, delimiter] [, ignoreCase])

Properties

Parameter Description
list Required. List of objects.
delimiter Optional. Character(s) that separate list elements. The default value is comma. .
ignoreCase Optional. If true, ignores the case of strings in the list. By default the value is set to false.

Example

<cfscript>
                myList = "one,two,three,four,five,one,five,three"
                newList = listremoveduplicates(myList);
                //default delimeter is ","
                //newList contains "one,two,three,four,five"
</cfscript>
<cfscript>
                myList = "one,two,three,four,five,ONE,TWO,THREE"
                newList = listremoveduplicates(myList, ",", true);
    //newList contains "one,two,three,four,five"
</cfscript>

via

Originally published at The Scotto Grotto. You can comment here or there.

scottobear: (Default)

http://ift.tt/1C1EeQH

from Tumblr http://ift.tt/1BmMiL8
via IFTTT

Originally published at The Scotto Grotto. You can comment here or there.

scottobear: (Default)

At garbonzo’s… a year later it is long gone. http://ift.tt/1C1EeQF

from Tumblr http://ift.tt/1HunBgQ
via IFTTT

Originally published at The Scotto Grotto. You can comment here or there.

Tuesday

Mar. 10th, 2015 11:38 pm
scottobear: (Default)

Yup, left my keys at home. Allison was out with Lily last night, so I called Larry for a helpful lift from Plaza Mexico post-dinner.

Between the bus slowdown due to a car running into us at L’Enfant – the last time was on Wednesday prior and supper  I got in about 10 minutes before Allison arrived home. Had I realized how close to home she was, I’d have just hung out at the restaurant and read my book for a bit.

Commute Conversation:

  • Dealing with troublesome family members ( Primarily mental heath and dynamics of care)
  • Evil spleen monster (do I smell smoke?)
  • Anchorman 2 Sucked, big time.
  • Chappie getting poor reviews
  • White Man’s Burden movie.
  • Biracial kids treatment. Does D look Hispanic (Half C/ Half AA). Does V look Asian (same)

I think the snow is gone for the season… my groundhog senses are tingling. Also, I trimmed my sea-captain beard back down to evil-twin door knocker, since the wind is not so harsh on the ol’ jowls. 

 

Originally published at The Scotto Grotto. You can comment here or there.

Profile

scottobear: (Default)
scott von berg

April 2017

S M T W T F S
       1
2 345678
9 10 11 12 13 14 15
16 1718 19 20 21 22
23 2425 26 2728 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 16th, 2025 10:14 pm
Powered by Dreamwidth Studios