how do i replace a substring.....e g hello world ...replace hello with hai an d you get hai world
replace a substring
Collapse
X
-
Tags: None
-
Just use a 2-dimensional array of charachters filled with the words of the string, then fill another empty string as you like with these words(with spaces between them of course).Comment
-
Use replace function of string class.Originally posted by curiously enoughJust use a 2-dimensional array of charachters filled with the words of the string, then fill another empty string as you like with these words(with spaces between them of course).
ManishComment
Comment