i am having issues with some string formatting pro...
# compose-web
j
i am having issues with some string formatting problems. calling something like
Copy code
stringResource(Res.string.by_author, book.author)
it just returns
by %s
. is there a way to debug what is happening or am i just doing something wrong here?
1
k
How does that string template look like?
j
Copy code
<string name="by_author">by %s</string>
w
It might only support positional arguments? So
%1$s
.
c
j
ah, great. thanks everyone!