473,854 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

chr(34)

chr(34)= ? in c# how can I use it?
What is the 34 number ?
thanks
Nov 15 '05 #1
4 69799
char c=(char)34
or
string s=""+(char)34

"selen" <sk*****@yahoo. com> schrieb im Newsbeitrag
news:u5******** *****@tk2msftng p13.phx.gbl...
chr(34)= ? in c# how can I use it?
What is the 34 number ?
thanks

Nov 15 '05 #2
selen <sk*****@yahoo. com> wrote:
chr(34)= ? in c# how can I use it?
What is the 34 number ?


Not entirely sure what you're asking here, but:

char c = 34;

will work fine.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #3
The 34 is the ascii character 34 (or the unicode 0034) which is the
character "
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode and Nostalgia enabled
Nov 15 '05 #4
Jon Skeet [C# MVP] <sk***@pobox.co m> wrote:
selen <sk*****@yahoo. com> wrote:
chr(34)= ? in c# how can I use it?
What is the 34 number ?


Not entirely sure what you're asking here, but:

char c = 34;

will work fine.


Oops - not quite, as you need to cast from int to char:

char c = (char)34;

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2642
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it depending on member expiration dates. When the form is submitted, the code loops through the form contents and sends an email to those members that meet the selected criteria. All this worked perfectly when I was sending text emails, but since I
4
1422
by: scott cooper | last post by:
Can someone help me understand why this script sets only some of the div.InnerText proerties of my page. If I set the language to VBScript and remove the semicolons it works. I'm just getting started with javascript so I appologize it this so simple. <script language="javascript"> oFirstName.InnerText = <%=chr(34)&sFirstName&chr(34)%>; oLastName.InnerText = <%=chr(34)&sLastName&chr(34)%>; oMI.InnerText =...
2
11403
by: crjunk | last post by:
I have the following code in my web page. Dim tmpReplace As String 'Giving tmpReplace the value from the textbox on the webform. tmpReplace = txtComments.Text.Trim 'Prevents report from crashing when a single quote is in string tmpReplace = tmpReplace.Replace("'", "''") 'Replace carriage return with the appropriate CharCodes.
3
2683
by: Andi Twine | last post by:
Hi all, I really hope someone here can help ! I have designed and built an ASP.NET web service with Visual Studio .NET. The web service outputs some dummy XML data when its called with some simple parameters. I have tested the web service on the PC it was written on (Windows XP, IIS 6, .NET 1.1, VS .NET) through the default HTTP / HTML interface with Internet Explorer. All works fine.
3
2591
by: MattB | last post by:
Just wondering if someone knows offhand, what ASCII code that is to make that dot that is used to mask passwords in password fields. Seems like someone here would know off the top of their head. TIA! Matt
5
149123
by: Christian Blackburn | last post by:
Hi Gang, I would like to use a caesar cipher on the mailto: links in my website to prevent crawlers from farming the e-mails off my site. Can someone tell me the equivalents to Chr() and Asc() from Visual Basic, but for JavaScript? Chr(n) returns the character based on the numeric ASCII code. For example Chr(34) --> " Asc(") --> 34
12
12911
by: Benry | last post by:
I have two machines. Both have Windows xp Pro. Both have Visual Studio 6.0. These two versions differ only in Forms3 version. Machine 1 (M1) has version 11.0.6254, Machine 2 (M2) has version 11.0.6550...other than that, I'm hardpressed to find anything significient that's different. The question I have is, on M1, the Chr() function will return the proper value for input values 0-255, however, on M2, the Chr() function will return...
19
3662
by: kawaks40 | last post by:
Hi everyone :) I just recently started using access/sql. and right away I ran into this problem "SQL expression too complex" I google'd a lot on what it means, and the only workaround I've seen sofar, is to just rewrite my code/query. Situation: I am sorting forms into the way they are used (print,storage,readonly,etc...).
13
7970
by: xzzy | last post by:
None of the following properly do the VB.net double quote conversion because all of the following in csharp convert to \" instead of just a double quote: " I have tried: char myDoubleQuote = (char)34; string myDoubleQuote = "" + (char)34;
0
9903
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9525
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7083
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5753
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5946
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4167
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.