[Dev-C++] Getting only parts of strings
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Brian B. <bcb...@ya...> - 2001-03-18 20:31:17
|
Hi, I have had a terrible time trying to just copy part of a string into another string. I wanted to be able to pass a start and an end and a string to a function and have it return the part of the string between the two numbers without using anything but api, sort of like the BASIC mid function. I have tried lstrcpyn, and CharNext, and even incrementing pointers and assigning them to each other with no success. I was wondering if anybody could help me. Thanks. Brian --------------------------------- Do You Yahoo!? Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail. |