IT Community - Software Programming, Web Development and Technical Support

NULL character within a string

This is a discussion on NULL character within a string within the C# Programming forums, part of the Software Development category; Hui buddies can anyone let me know Does Console.WriteLine() stop printing when it reaches a NULL character within a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-01-2007, 05:00 AM
vigneshgets vigneshgets is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 904
vigneshgets is on a distinguished road
Question NULL character within a string

Hui buddies can anyone let me know Does Console.WriteLine() stop printing when it reaches a NULL character within a string?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-01-2007, 05:07 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Smile Re: NULL character within a string

Vignesh,

Normally strings are not null terminated in the runtime, so embedded nulls are allowed. Console.WriteLine() and all similar methods continue until the end of the string.

>>|H2O|<<
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get ASCII Value of a first character in a string in php? $enthil PHP Programming 1 01-06-2008 11:48 PM
Substring of a string from a particular character $enthil PHP Programming 4 01-02-2008 02:39 AM
What is the result of comparing NULL with NULL? vijayanand Database Support 1 09-20-2007 07:07 AM
NULL Pointer and a NULL Macro vigneshgets C and C++ Programming 3 09-08-2007 03:24 AM
Storing NULL value to other than string datatype muthuramkumar ASP and ASP.NET Programming 1 03-19-2007 03:17 AM


All times are GMT -7. The time now is 09:28 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0