B billmoultrie Member Licensed User Longtime User Mar 21, 2023 #1 I have been trying to transfer some test to a word document using the example: B4X: doc.Append($"[p]Word document with two lines. This Is the second line.[/p]"$) How can I insert a string B4X: Dim Str as string str = "test" doc.Append($"[p]Str[/p]"$)
I have been trying to transfer some test to a word document using the example: B4X: doc.Append($"[p]Word document with two lines. This Is the second line.[/p]"$) How can I insert a string B4X: Dim Str as string str = "test" doc.Append($"[p]Str[/p]"$)
teddybear Well-Known Member Licensed User Mar 21, 2023 #2 Do you want this? B4X: Dim Str as string str = "test" doc.Append($"[p]${Str}[/p]"$) Upvote 0
DonManfred Expert Licensed User Longtime User Mar 21, 2023 #3 B4X: doc.Append($"[p]Word document with two lines. This Is the second line.[/p]"$) Upvote 0
B billmoultrie Member Licensed User Longtime User Mar 23, 2023 #4 teddybear said: Do you want this? B4X: Dim Str as string str = "test" doc.Append($"[p]${Str}[/p]"$) Click to expand... That is exactly right. Thanks very much Upvote 0
teddybear said: Do you want this? B4X: Dim Str as string str = "test" doc.Append($"[p]${Str}[/p]"$) Click to expand... That is exactly right. Thanks very much