473,467 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

What is the value of the space character?

1 New Member
Hi,

What is the value of that space character? I need to use it in a conditional I'm writing.

Thanks,
Ali
Jul 23 '07 #1
3 1610
pbmods
5,821 Recognized Expert Expert
Heya, Ali. Welcome to TSDN!

So that you will be more likely to get the help that you need, I will go ahead and split this post into its own thread.

Good luck with your project.
Jul 24 '07 #2
pbmods
5,821 Recognized Expert Expert
What is the context? Do you need the ASCII code, or can you use the literal ' '? Or do you need to match any whitespace character?
Jul 24 '07 #3
epots9
1,351 Recognized Expert Top Contributor
do u mean:
Expand|Select|Wrap|Line Numbers
  1. if(something == " ")
  2. {
  3. //do something
  4. }
  5.  
or is there something else u're looking for?
Jul 24 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Bob Quinn | last post by:
Hi, VB6 permitted the use of the space character in naming when enclosed with square brackets. This was particularly useful when creating enumerations such as: Enum FruitTypes End Enum ...
4
by: Paul Hadfield | last post by:
Hi, Wonder if anyone can help me on this, In DotNet2.0 I've been quite happily using the WriteAttributeString method of XmlWriter object, but have run into a problem when trying to output a...
2
by: pbmanikandan | last post by:
Horrible error. I use a function called cleanse company name that "removes" some strings if present from a string that is passed to it. In a procedure, I do the following. INSERT into table1...
50
by: LaundroMat | last post by:
Suppose I have this function: def f(var=1): return var*2 What value do I have to pass to f() if I want it to evaluate var to 1? I know that f() will return 2, but what if I absolutely want to...
3
by: kvnsmnsn | last post by:
I've written the following Javascript file that includes an input text field and an output text field, the latter of which is initialized to zero. Each time the user enters a number in the input...
2
by: dmorand | last post by:
Anyone know what the space character is represented as in VBA? I'm trying to run a replace function to replace all space characters with underscores. Dim newCaption As String newCaption =...
1
by: maheshmrk22 | last post by:
Hi guys, I want your urgent help...I want regular expression for password textbox in asp.net which should not allow space character. It can allow A-Z,a-z,0-9,#,$,%,&,* Please its urgent. ...
8
by: davidson1 | last post by:
Hai friends.... In C for 97=A character , 65=a charcter....can u tell what is the number for "space" character... Davidson
2
n8kindt
by: n8kindt | last post by:
hey guys, i have a function that can recognize a space character in a string... how can i get it to replace a space with a underscore character Public Function RemoveSpaces(strInput As String) '...
1
shane3341436
by: shane3341436 | last post by:
I have used following code onmouseover=rollOver("'.$rolloverImage.'","imgPlaceHolder","'.$dimension.'") $rolloverImage may contain the filename with space character. Because of the space...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.