OpenTypeMethods.Replace(Object, Object, 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.
Replaces one substring with a second substring in a target string.
public:
static System::Object ^ Replace(System::Object ^ targetString, System::Object ^ substring, System::Object ^ newString);
public static object Replace (object targetString, object substring, object newString);
static member Replace : obj * obj * obj -> obj
Public Shared Function Replace (targetString As Object, substring As Object, newString As Object) As Object
Parameters
- targetString
- Object
The string with the substring to replace.
- substring
- Object
The substring to be replaced.
- newString
- Object
The new substring.
Returns
A new string with the substring replaced with the new substring.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.