iOS : Text Join missing

47166 - iOS : Text Join missing
Status: Needs Review Rank: Not Ranked Product: Xojo Category: N/A

Michel Bujardet Today at 8:56 PM
OS: OS X 10.12.4

Xojo: Xojo 2016r4.1

Steps:
dim myarr() as text = Array(“un”,“deux”,“trois”)
dim line as text = join(myarr, &u0A)

join is flagged as does not exist.

Yet this syntax shows in http://developer.xojo.com/text$Join
File attached: join.xojo_binary_project.zip

feedback://showreport?report_id=47166

Works fine when you use the right syntax

dim myarr() as text = Array(“un”,“deux”,“trois”)
dim line as text = Text.join(myarr, &u0A)

Join is a shared method on TEXT not a global method

Pfff.

I assume thats the french version of homer simpson’s “D’oh!” ?

You mean T’oh ?

https://youtu.be/cnaeIAEp2pU

In order to not encounter the same humiliation again, here is what I did :

Public Function Join(Arr() as Text, Separator as Text) as Text Return Text.Join(Arr, Separator) End Function