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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.