in fact when I read this code proper method should be `tr` so it looks like
```
  krb5_server = @kdc.tr(" ", ",")
```
as you want to replace spaces with commas