codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Wrap Counter??  ZoeSmith at 16:58 on Tuesday, August 24, 2004
 

hi there,

ive got a program whereby it reads a string by character and then outputs each word of the string along with the line number it occurs in. However the problem i have is that the line counter is only incremented if the enter key is pressed as the program recoginises the ASCII 13 as enter and increments the counter, however when the text in the rich text box automatically wraps to a new line then my counter wont increase as there is no ASCII character to represent this in the string (tried ASCII 10). Any Suggestions as how to get the program to recognise a new line??

Zoe








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: help: location of an element within a collection
•  Help with a form
•  Re: Response.Redirect is not working
•  Re: tellafriend
•  Re: Code Snippets
•  Re: Software Planning
•  Re: Set up file Down Load
•  Re: open excel file in html page
•  Re: How to open a .DOC file in MS-Word thru a link


Recent Articles
Simple Thumbnail Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)
Function to Return Alpha Characters Only
The OSI Reference Model - A Clear and Concise Illustration !


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2004