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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.