any idea if there is an wasy way in kotlin to enco...
# announcements
t
any idea if there is an wasy way in kotlin to encode html entities in strings?
s
What do you mean by ‘easy’?
m
maybe they mean as in ‘provided by standard library’; if that’s the case, I don’t think there’s any in the stdlib. You should use a dedicated library
s
I think you can still use the Apache Commons Lang and wrap the function in an extensiob function of string.
t
will do, thanks