TextUtils.GetTrimmedLength Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTrimmedLength(ICharSequence) |
Returns the length that the specified CharSequence would have if
spaces and ASCII control characters were trimmed from the start and end,
as by |
GetTrimmedLength(String) |
Returns the length that the specified CharSequence would have if
spaces and ASCII control characters were trimmed from the start and end,
as by |
GetTrimmedLength(ICharSequence)
Returns the length that the specified CharSequence would have if
spaces and ASCII control characters were trimmed from the start and end,
as by String#trim
.
[Android.Runtime.Register("getTrimmedLength", "(Ljava/lang/CharSequence;)I", "")]
public static int GetTrimmedLength (Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("getTrimmedLength", "(Ljava/lang/CharSequence;)I", "")>]
static member GetTrimmedLength : Java.Lang.ICharSequence -> int
Parameters
Returns
- Attributes
Remarks
Returns the length that the specified CharSequence would have if spaces and ASCII control characters were trimmed from the start and end, as by String#trim
.
Java documentation for android.text.TextUtils.getTrimmedLength(java.lang.CharSequence)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GetTrimmedLength(String)
Returns the length that the specified CharSequence would have if
spaces and ASCII control characters were trimmed from the start and end,
as by String#trim
.
public static int GetTrimmedLength (string? s);
static member GetTrimmedLength : string -> int
Parameters
- s
- String
Returns
Remarks
Returns the length that the specified CharSequence would have if spaces and ASCII control characters were trimmed from the start and end, as by String#trim
.
Java documentation for android.text.TextUtils.getTrimmedLength(java.lang.CharSequence)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.