Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

substring function in c++

string sub_string=main_string.substr(first_pos_of_the_substring_from_main_string,length_of_the_substring_from_main_string_starting_from_the_first_position
Source by cppbyexample.com #
 
PREVIOUS NEXT
Tagged: #substring #function
ADD COMMENT
Topic
Name
8+2 =