Hello guys, I’m a newbie to scala and programming, need help with example programs or samples demonstrating the function of removing punctuations from a sequence of string, Seq[map[string, string]]. Thanks in advance guys, any help on this would be greatly appreciated.
Sincery welcome to the Scala community! Perhaps you can be a bit more specific, e.g. with example input output, to make it easier to provide some help?
In general you can use
xs is a sequence and
f is a function that takes a value of the element type and returns a boolean, to pick specific elements, if that is what you want. There is also
str.split(sep) which will split the string str to an array with the parts separated by sep.