Les Irvin wrote:
> I'm rather lousy at the whole string parsing thing...  
Problem (for me) is that one cannot count on a set number of
> digits returned after the decimal.
> 

<cfset latlng = "(38.780144, -104.815308)">
<cfset lat = removechars(listfirst(latlng, ","),1,1)>
<cfset lng = listlast(latlng, " ")>
<cfset lng = left(lng, len(lng-1))>


-- 

Yours,

Kym Kovan
mbcomms.net.au


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330165
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to