I suspect Daniel may have thought that join adds "joining" spaces by default:

julia> length(join(("1"," ")))
2

julia> length(join(("1"," "), " "))
3

 -- John

On Oct 22, 2014, at 11:05 AM, Stefan Karpinski <[email protected]> wrote:

> The space shouldn't be and isn't removed:
> 
> julia> join(("1"," "))
> "1 "
> 
> This seems like something that would not be different in any version of Julia.
> 
> On Wed, Oct 22, 2014 at 2:00 PM, Daniel Høegh <[email protected]> wrote:
> Hi is there a way to concatenate turple of strings that if the last string is 
> a space that does not remove it?
> join(("1"," "))=="1 "
>  
> 
> 

Reply via email to