Translations:StrExpression/33/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
 
Řádek 23: Řádek 23:
 
::regex_replace(string text, string expression, string replacement)
 
::regex_replace(string text, string expression, string replacement)
 
::regex_replace(string text, string expression, string replacement, bool replace_all)
 
::regex_replace(string text, string expression, string replacement, bool replace_all)
 +
::toTimestamp(string str, string format)
 +
::formatTimestamp(int epochTime, string format)

Aktuální verze z 4. 3. 2026, 08:56

Informace o zprávě (přispět)
K této zprávě není dokumentace. Pokud víte, kde nebo jak se zpráva používá, můžete pomoci dalším překladatelům tím, že přidáte dokumentaci k této zprávě.
Zdroj zprávy (StrExpression)
Aritmetický výraz, který může obsahovat:
*Celá čísla
*Řetězce (např. "abc")
*Proměnné [[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] a [[#h-| H]]
*Operátory (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
*Závorky (  )
*Funkce:
::length(string str)
::pos(string str, string substr)
::substr(string str, int offset)
::substr(string str, int offset, int length)
::trim(string str)
::replace(string str, string from, string to)
::replace(string str, string from, string to, bool replace_all)
::lowercase(string str)
::uppercase(string str)
::if(bool condition, string then, string else)
::strip_diacritics(string str)
::regex_match(string text, string expression)
::regex_match(string text, string expression, int group)
::regex_search(string text, string expression)
::regex_search(string text, string expression, int group)
::regex_replace(string text, string expression, string replacement)
::regex_replace(string text, string expression, string replacement, bool replace_all)
::toTimestamp(string str, string format)
::formatTimestamp(int epochTime, string format)
PřekladMathematical expression that can contain:
*Whole numbers
*Strings(e.g. "abc")
*Variables[[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] a [[#h-| H]]
*Operators (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
*Parentheses (  )
*Functions:
::length(string str)
::pos(string str, string substr)
::substr(string str, int offset)
::substr(string str, int offset, int length)
::trim(string str)
::replace(string str, string from, string to)
::replace(string str, string from, string to, bool replace_all)
::lowercase(string str)
::uppercase(string str)
::if(bool condition, string then, string else)
::strip_diacritics(string str)
::regex_match(string text, string expression)
::regex_match(string text, string expression, int group)
::regex_search(string text, string expression)
::regex_search(string text, string expression, int group)
::regex_replace(string text, string expression, string replacement)
::regex_replace(string text, string expression, string replacement, bool replace_all)
::toTimestamp(string str, string format)
::formatTimestamp(int epochTime, string format)

Mathematical expression that can contain:

  • Whole numbers
  • Strings(e.g. "abc")
  • Variables A, B, C, D, E, F, G a H
  • Operators (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
  • Parentheses ( )
  • Functions:
length(string str)
pos(string str, string substr)
substr(string str, int offset)
substr(string str, int offset, int length)
trim(string str)
replace(string str, string from, string to)
replace(string str, string from, string to, bool replace_all)
lowercase(string str)
uppercase(string str)
if(bool condition, string then, string else)
strip_diacritics(string str)
regex_match(string text, string expression)
regex_match(string text, string expression, int group)
regex_search(string text, string expression)
regex_search(string text, string expression, int group)
regex_replace(string text, string expression, string replacement)
regex_replace(string text, string expression, string replacement, bool replace_all)
toTimestamp(string str, string format)
formatTimestamp(int epochTime, string format)