Hi,
So, basically I want to extract a sequence of characters (which is located between two other sequences that I've given) from a string.
Thank you.Code:char* str="abcdefghi"; someFunction(str, "abc", "ghi"); //this is the function that would do what I want. It would return "def"- the sequence that is located between the given strings. It's not necessary for it to be one function, it could be any technique that accomplishes what I want.



LinkBack URL
About LinkBacks


