What I want is, I think, relatively simple:
> Bin = <<\"Hello.world.howdy?\">>. > split(Bin, \".\"). [<<\"Hello\">>, <<\"
binary:split(Bin,<<".">>).