- attribute
- the attribute that will be applied to this string.
- value
- the value of the attribute that will be applied to this string.
- start
- the start of the range where the attribute will be applied.
- end
- the end of the range where the attribute will be applied.
Type Reason Java.Lang.IllegalArgumentException if start , end is greater than the length of this string, or if start >= end. Java.Lang.NullPointerException if attribute is null.
Applies a given attribute to the given range of this string.