Translations:Erweiterte Feldfunktionen/29/en: Unterschied zwischen den Versionen

Aus Wiki csv4you
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „Example 1 ... Replaces in a string''https'' with ''http'' and ''a-domain.com'' with ''b-domain.com'': [pic1|replace:'https':'http'{replace:'a-domain.com':'b-d…“)
 
(kein Unterschied)

Aktuelle Version vom 4. März 2016, 15:52 Uhr

Information zur Nachricht (bearbeiten)
Zu dieser Nachricht ist keine Dokumentation vorhanden. Sofern du weißt, wo und in welchem Zusammenhang sie genutzt wird, kannst du anderen Übersetzern bei ihrer Arbeit helfen, indem du eine Dokumentation hinzufügst.
Nachricht im Original (Erweiterte Feldfunktionen)
Beispiel 1... Ersetzt in einem String ''https'' in ''http'' und ''a-domain.com'' in ''b-domain.com'':
 [pic1|replace:'https':'http'{replace:'a-domain.com':'b-domain.com'}]
Beispiel 2... Sie möchten Datumswerte, z.B. "10.09.2015 17:55:49" in "10.09.2016" ändern. Dazu muss der 1. Teil des Datums gesucht und '2015' durch '2016' ersetzt werden. Der Trenner ist das Leerzeichen:
 [Datum|split:1: {replace:'2015':'2016'}]
ÜbersetzungExample 1 ... Replaces in a string''https'' with ''http'' and ''a-domain.com'' with ''b-domain.com'':
 [pic1|replace:'https':'http'{replace:'a-domain.com':'b-domain.com'}]
Example 2 ... you want change date values; for example, "09.10.2015 17:55:49" in "09.10.2016". This requires that the first part of the date is selected and in there '2015' is replaced by '2016'. The separator is a blank:
 [Datum|split:1: {replace:'2015':'2016'}]

Example 1 ... Replaces in a stringhttps with http and a-domain.com with b-domain.com:

[pic1|replace:'https':'http'{replace:'a-domain.com':'b-domain.com'}]

Example 2 ... you want change date values; for example, "09.10.2015 17:55:49" in "09.10.2016". This requires that the first part of the date is selected and in there '2015' is replaced by '2016'. The separator is a blank:

[Datum|split:1: {replace:'2015':'2016'}]