KodeKreatif / surelia-web-client

Other
0 stars 3 forks source link

Replace every single space instead. #170

Closed herpiko closed 7 years ago

herpiko commented 7 years ago

cc @mdamt

mdamt commented 7 years ago

What is the case for this?

herpiko commented 7 years ago

@mdamt String from recipient/cc/bcc input chould be like this : someone1@domain.com, someone2@domain.com, someone3@domain.com.

It contains space and need to be removed. replace(" ","") does it but only for the first space character. / /g replaces them all.