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:
  Print the remaining characters in the string excluding the substring  monu2000 at 21:15 on Wednesday, September 28, 2005
 

I have a string str = " this is my name" , my start character is start = 's'
my end character is end = 'n'

char* truncate(char* str,char start,char end)
should remove the characters from the start to end and print the remaining characters
now the output would be

"thi ame"
anybody can help with the C++ code.

Thanks,




© Copyright codetoad.com 2001-2005