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

Aus Wiki csv4you
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „=== '''find''' - Find Values / Content === Example... The content of cell "NAME" is searched for the value "bl" and, if it is present there, the value of cell…“)
 
 
Zeile 1: Zeile 1:
 
=== '''find''' - Find Values / Content ===
 
=== '''find''' - Find Values / Content ===
Example... The content of cell "NAME" is searched for the value "bl" and, if it is present there, the value of cell "ID" changed from "52368" to "52368-black" (return values: 1 = found, 0 = not found). Do '''not''' use the pipe ('''|''') sign and '''not''' the value to be replaced as separator. Otherwise, any character can be defined as the separator. The ID "52368" serves here only as an example:
+
Example... The content of cell "NAME" is searched for the value "bl" and, if it is present there (return values: 1 = found, 0 = not found), the value of cell "TITLE" changed from "One Product" to "[ID]-black". The cell "ID" with the value "52368" serves here only as an example. Do '''not''' use the pipe ('''|''') sign and '''not''' the value to be replaced as separator for the function (find:bl). Otherwise, any character can be defined as the separator:
 
  {IF '[NAME|find:bl]' == '1'}[ID]-black{ENDIF}
 
  {IF '[NAME|find:bl]' == '1'}[ID]-black{ENDIF}

Aktuelle Version vom 20. Januar 2017, 15:11 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)
=== '''find''' - Werte/Inhalte finden ===
Beispiel... Es wird im Inhalt von FELDNAME nach dem Wert "sw" gesucht und wenn vorhanden im betreffenden Feld ID in den Wert "52368-schwarz" geändert (Rückgabewerte: 1 = gefunden, 0 = nicht gefunden). Verwenden Sie als Trenner '''nicht''' die Pipe ('''|''') und '''nicht''' den Wert, der ersetzt werden soll. Ansonsten kann als Trenner ein beliebiges Zeichen festgelegt werden. ID 52368 dient hier nur als Beispiel:
 {IF '[FELDNAME|find:sw]' == '1'}[ID]-schwarz{ENDIF}
Übersetzung=== '''find''' - Find Values / Content ===
Example... The content of cell "NAME" is searched for the value "bl" and, if it is present there (return values: 1 = found, 0 = not found), the value of cell "TITLE" changed from "One Product" to "[ID]-black". The cell "ID" with the value "52368" serves here only as an example. Do '''not''' use the pipe ('''|''') sign and '''not''' the value to be replaced as separator for the function (find:bl). Otherwise, any character can be defined as the separator:
 {IF '[NAME|find:bl]' == '1'}[ID]-black{ENDIF}

find - Find Values / Content

Example... The content of cell "NAME" is searched for the value "bl" and, if it is present there (return values: 1 = found, 0 = not found), the value of cell "TITLE" changed from "One Product" to "[ID]-black". The cell "ID" with the value "52368" serves here only as an example. Do not use the pipe (|) sign and not the value to be replaced as separator for the function (find:bl). Otherwise, any character can be defined as the separator:

{IF '[NAME|find:bl]' == '1'}[ID]-black{ENDIF}