StrExpression/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Variable H.“)
(Založena nová stránka s textem „Mathematical expression that can contain: *Whole numbers *Strings(e.g. "abc") *Variables A, B, C, D, E, #f-|…“)
Řádek 74: Řádek 74:
 
Type [[Special:MyLanguage/Data types#String | String]]
 
Type [[Special:MyLanguage/Data types#String | String]]
  
Aritmetický výraz, který může obsahovat:
+
Mathematical expression that can contain:
*Celá čísla
+
*Whole numbers
*Řetězce (např. "abc")
+
*Strings(e.g. "abc")
*Proměnné [[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] a [[#h-| H]]
+
*Variables[[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] a [[#h-| H]]
*Operátory (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
+
*Operators (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
*Závorky (  )
+
*Parentheses (  )
*Funkce:
+
*Functions:
 
::length(string str)
 
::length(string str)
 
::pos(string str, string substr)
 
::pos(string str, string substr)

Verze z 31. 1. 2021, 17:35

Jiné jazyky:
English • ‎čeština

Description

Alias: SE

Evaluate string expressions

Evaluates the expression given in the Expression parameter with the option of using parameters A, B, C, D, E, F, G and H as variables.

Input parameters

A

Type String

Variable A.

B

Type String

Variable B.

C

Type String

Variable C.

D

Type String

Variable D.

E

Type String

Variable E.

F

Type String

Variable F.

G

Type String

Variable G.

H

Type String

Variable H.

Expression

Type String

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)

Enabled

Typ Number

Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.

PreWait

Typ Number

Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.

PostWait

Typ Number

Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Výstupní parametry

ExpressionResult

Type String

Výsledek zadaného výrazu.