getting sub CString from a bigger CString

This is a discussion on getting sub CString from a bigger CString within the C++ Programming forums, part of the General Programming Boards category; getting sub CString from a bigger CString ok i got a big CString and i want to get a certain ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    114

    getting sub CString from a bigger CString

    getting sub CString from a bigger CString

    ok i got a big CString and i want to get a certain word in this big CString without deleting or trimming

    i have obtained the start and end zero based index of the text that i want. how do i proceed from here?
    can i please have an example?

    thanks in advance!
    Last edited by hanhao; 06-29-2007 at 11:20 AM.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,317
    Lookup the Mid function.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inserting a swf file in a windows application
    By face_master in forum Windows Programming
    Replies: 12
    Last Post: 05-03-2009, 11:29 AM
  2. Writing CObjects with Serialization to CArchive
    By ruben_gerad in forum C++ Programming
    Replies: 0
    Last Post: 11-09-2006, 07:25 AM
  3. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  4. Help with CString class and operator+ overloading
    By skanxalot in forum C++ Programming
    Replies: 2
    Last Post: 10-07-2003, 10:23 AM
  5. Replies: 2
    Last Post: 11-08-2002, 02:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21