String.Trim 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.
Returns a string whose value is this string, with any leading and trailing whitespace removed.
[Android.Runtime.Register("trim", "()Ljava/lang/String;", "")]
public string Trim ();
[<Android.Runtime.Register("trim", "()Ljava/lang/String;", "")>]
member this.Trim : unit -> string
Returns
A string whose value is this string, with any leading and trailing white space removed, or this string if it has no leading or trailing white space.
- Attributes
Remarks
Java documentation for java.lang.String.trim().
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.