cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Find Substring between two symbols.
Find Substring between two symbols.
Sep 4, 2016 at 7:13am UTC
kandarp143
(1)
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.
Sep 4, 2016 at 7:43am UTC
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.