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
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
Trim(char[])
public StringView Trim(params char[] chrs)
Parameters
A set of characters to remove.
Returns
Type | Description |
|---|---|
| StringView | A new StringView. |