Hi Mark,
You may check the following links for your reference.
Migrates from VBScript Functions to C#
http://www.netcoole.com/asp2aspx/vbhtml/csfuncs.htm
String Members
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemstringmemberstopic.asp
Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Mark Fox" <in**@solelsoftware.com>
| Sender: "Mark Fox" <in**@solelsoftware.com>
| Subject: VBScript to C# question
| Date: Wed, 27 Aug 2003 21:45:14 -0700
| Lines: 23
| Message-ID: <09****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNtHyv2c3m8e2+HSX69arxHY16B9A==
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:172183
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hello,
|
| I am porting some old ASP 3.0 VBScript code to
| C#.NET and am not sure what the equivalent C# functions
| are for a couple VBScript functions. So my first
| question is:
|
| 1) Is there somewhere that lists old VBScript functions
| and their equivalent C# functions?
|
| More importantly, though:
|
| 2) What would the "Asc" and "ChrB" functions be in C#?
|
| Asc:
|
http://msdn.microsoft.com/library/default.asp?
| url=/library/en-us/office97/html/output/f1/d6/s5b26b.asp
|
| ChrB:
|
http://msdn.microsoft.com/library/default.asp?
| url=/library/en-us/office97/html/output/f1/d6/s5b26b.asp
|
| Thanks for your help!
|