how can we change the delimeter in case of getline function of a string class.
Getline() fn in case of string class
it can be done by passing as an additional parameter
getline(cin,string_name,delimiter)
eg: getline(cin,s,’,’) will set delimiter as ,