PC Review


Reply
Thread Tools Rate Thread

Carriage Return indexes of a string

 
 
=?Utf-8?B?SmVzc2FyZA==?=
Guest
Posts: n/a
 
      6th Aug 2004
Hi,

Just wondering how to obtain the index of a carraige return in a string?

Thanks,
Jesse
 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      6th Aug 2004
Jessard <(E-Mail Removed)> wrote:
> Just wondering how to obtain the index of a carraige return in a string?


int index = foo.IndexOf("\r");

--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cut of String at Carriage Return jokobe Microsoft Access Form Coding 3 13th Apr 2008 06:09 PM
Carriage Return and String confusion... eric_mamet_test@yahoo.co.uk Microsoft C# .NET 4 16th May 2005 03:36 PM
inserting a carriage return in string Eric` Microsoft Access Security 1 3rd May 2004 12:33 AM
Re: Clear a Carriage Return from a String Value David McRitchie Microsoft Excel Programming 0 5th Aug 2003 09:54 PM
Re: Clear a Carriage Return from a String Value JS Microsoft Excel Programming 0 5th Aug 2003 09:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:21 AM.