Function keepSection
Defined in File strManipulation.h
Function Documentation
-
void keepSection(std::string &str, const std::string &from, const std::string &to)
function that keeps a section of a string that is between two strings and deletes the left and right strings
- Parameters:
str – string to be modified passed by reference
from – left string
to – right string