StringKt
Added in 1.1.0
public final class StringKt
Summary
Public methods
htmlEncode
public static final @NonNull String htmlEncode(@NonNull String receiver)
Html-encode the string.
public final class StringKt
public static final @NonNull String htmlEncode(@NonNull String receiver)
Html-encode the string.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-04-08 UTC.