Hello, 
I am fudging my way through converting my website to c#. 

I have been trying to figure out how to make the following coldfusion
snippet in C#, please help !!! 

function userImageDir(ID) 
{ 
var ReversedPaddedUserID = Reverse(Right(ID, 4)); 
var Directory1 = Left(ReversedPaddedUserID, 2); 
var Directory2 = Right(ReversedPaddedUserID, 2); 
var Directory3 = ID; 
return "#Directory1#/#Directory2#/#Directory3#/"; 
} 

please note that the input variable "ID" is something like 123456 

Any Ideas?





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to