Mike

please look this cflib UDF:

http://www.cflib.org/udf.cfm?id=437&enable=1

Could be a good start point:

Generates a random 8-character password that is free of annoying easily
confused characters such as 1 or l, O or 0. This is done by taking a UUID,
combining parts of it into two-byte chunks, and treating the two-byte chunk
as a hexadecimal number. This number is then converted into base-10 and
converted into a chr().

iif(refind("(O|o|0|i|l|1|I|5|S)",new_password) gt 0,0,1);       

Cheers



2007/4/19, Mike Little <[EMAIL PROTECTED]>:
>
> hey guys,
>
> i need to replace occurrences of 0,o,1 in a uid with valid characters.
>
> the uid is in the form XXXXXXXX-XXXX-XX
>
> so each time an invalid character is found a random 'valid' character is
> generated and inserted in its place?
>
> really do not know where to start with this function.
>
> any tips would be appreciated.
>
> mike
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275897
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