OpenTypeMethods.Trim(Object) 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.
Removes all leading and trailing white-space characters from a string.
public:
static System::Object ^ Trim(System::Object ^ targetString);
public static object Trim (object targetString);
static member Trim : obj -> obj
Public Shared Function Trim (targetString As Object) As Object
Parameters
- targetString
- Object
The string to trim.
Returns
The trimmed string.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.