文档

Unity Engine

Unity Engine

Trim(params char[])

Returns a new StringView in which all leading and trailing occurrences of a set of specified characters from the current StringView are removed.
阅读时间1 分钟最后更新于 1 个月前

Definition

Trim(char[])

public StringView Trim(params char[] chrs)

Parameters

chrs

A set of characters to remove.

Returns

Type

Description

StringViewA new StringView.