TextUtils.Replace(String, String[], String[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個新的 CharSequence,將每個來源字串替換為目的地的對應元素。
public static string? Replace(string? template, string[]? sources, string[]? destinations);
static member Replace : string * string[] * string[] -> string
參數
- template
- String
- sources
- String[]
- destinations
- String[]
傳回
備註
回傳一個新的 CharSequence,將每個來源字串替換為目的地的對應元素。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。