Find Substring between two symbols.

Hello all,

I am new to c++ programming. I need some help,

I have string :
---- Input : "Name : $$ Enter Your Name2 $$"
I want to extract string between $$ symbols including symbols :
---- Output : "$$ Enter Your Name2 $$"

Please help me.
closed account (48bpfSEw)
You are handling a string. Look at the definition of a string!
http://www.cplusplus.com/reference/string/string/?kw=string

The function "find" could help you to master your task.
Topic archived. No new replies allowed.