RE: [OT]Java equivalent to ASP function

2003-07-24 Thread Hibbs, David
Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 3:43 PM To: Struts Users Mailing List Subject: Re: [OT]Java equivalent to ASP function hello charlene, for ascii code of character you could simple use java cast operation: char c = 'A' byte b = (byte

RE: [OT]Java equivalent to ASP function

2003-07-24 Thread Yan, Charlene
David, Thank you for the info!! Charlene -Original Message- From: Hibbs, David [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 10:43 AM To: Struts Users Mailing List Subject: RE: [OT]Java equivalent to ASP function Digging out... got behind a few days recently. Important note

[OT]Java equivalent to ASP function

2003-07-22 Thread Yan, Charlene
All, I need to rewrite some ASP codes in Java. What are the Java equivalent to Asc(String) and Hex(Number) in VB? I appreciate any insight from you! Thanks. Charlene - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT]Java equivalent to ASP function

2003-07-22 Thread atta-ur rehman
Integer.valueOf(String, int) to convert hex number string back to int. hope this helps. ATTA - Original Message - From: Yan, Charlene [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 12:26 PM Subject: [OT]Java equivalent to ASP function All, I

Re: [OT]Java equivalent to ASP function

2003-07-22 Thread Erik Price
Yan, Charlene wrote: All, I need to rewrite some ASP codes in Java. What are the Java equivalent to Asc(String) and Hex(Number) in VB? I appreciate any insight from you! I don't know VB. I assume Hex(Number) transforms the number to hexadecimal. You can get the hexadecimal representation

RE: [OT]Java equivalent to ASP function

2003-07-22 Thread Yan, Charlene
That helps a lot. Thanks!! -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 4:43 PM To: Struts Users Mailing List Subject: Re: [OT]Java equivalent to ASP function hello charlene, for ascii code of character you could simple use java cast

RE: [OT]Java equivalent to ASP function

2003-07-22 Thread Yan, Charlene
Asc(String) returns a asci number. For example, Asc(A) = 65. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 4:42 PM To: Struts Users Mailing List Subject: Re: [OT]Java equivalent to ASP function Yan, Charlene wrote: All, I need