Metodo UtilityReplaceFirstOccurrance
|
Sostisuisce solamente la prima occorrenza trovata e restiruisce la stringa modificata.
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 26.4.0.0 (26.4.0.0)
Sintassi public static string ReplaceFirstOccurrance(
string original,
string oldValue,
string newValue
)
Public Shared Function ReplaceFirstOccurrance (
original As String,
oldValue As String,
newValue As String
) As String
public:
static String^ ReplaceFirstOccurrance(
String^ original,
String^ oldValue,
String^ newValue
)
static member ReplaceFirstOccurrance :
original : string *
oldValue : string *
newValue : string -> string
Parametri
- original String
- stringa originale
- oldValue String
- valore da ricercare
- newValue String
- valore da sostituire
Valore di ritorno
StringVedi anche