Metodo UtilityReplaceFirstOccurrance
|
Sostisuisce solamente la prima occorrenza trovata e restiruisce la stringa modificata.
Namespace:
DedNet.Core
Assembly:
DedNet (in DedNet.dll) Versione: 22.4.2.0 (22.4.2.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
- Tipo: SystemString
stringa originale - oldValue
- Tipo: SystemString
valore da ricercare - newValue
- Tipo: SystemString
valore da sostituire
Valore di ritorno
Tipo:
StringVedi anche