Would one need to create some logic to handle older phone layouts that
did not have two letters, the 'Q' and the 'Z' I believe?
Ian
Feeling the busy-body today.
Chris Rockett wrote:
> Jerry, you should submit this to coldfusioncookbook.com and/or cflib.org the
> latter has a snipex link you can add to your CFeclipse installation.
>
>
>> Alternate version, more language specific, should be error-free and
>> exception free.
>>
>> function convertPhonePad(str) {
>> alphaList="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z";
>> numeralList="2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9";
>>
>> return replaceList(str,alphaList,numeralList);
>> }
>>
>>
>> On Dec 4, 2007 12:28 PM, Jerry Johnson <[EMAIL PROTECTED]> wrote:
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294193
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4