Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Command Name

Usage

Description

ExampleVersion

Left

Left(metintext, karakter sayısı, sonuç değişkeni)Verilen metnin solundan itibaren belirtilen sayıda karakteri sonuç değişkenine atarnumber of characters, result variable)

Assigns the specified number of characters to the result variable starting from the left of the given text.

Left(@barcode,5,@materialcode)

1.0

Right

Right(metintext, karakter sayısı, sonuç değişkeni)Verilen metnin sağından itibaren belirtilen sayıda karakteri sonuç değişkenine atarnumber of characters, result variable)

Assigns the specified number of characters to the result variable starting from the right of the given text.

Right(@barcode,5,@materialcode)

1.0

Mid

Mid(metintext, başlangıçstart,  uzunluklength, sonuç değişkeni)Verilen metnin başlangıç karakterinden itibaren belirtilen sayıda karakteri sonuç değişkenine atarresult variable)

Assigns the specified number of characters to the result variable starting from the initial character of the given text.

Mid(@barcode,5,4, @materialcode)

1.0

Pos

Pos(aranan değer, json array ya da metin, sonuç değişkeni)

Bir metnin ya da JSON dizisinin içinde aranan değerin bulunduğu pozisyonu sonuç değişkenine atar.

Metin içinde arama yapılıyorsa karakter konumunu, JSON dizisinde arama yapılıyorsa, dizinin kaçıncı elemanı olduğunu gösterir. JSON nesnesinde dizi adının "param" olması beklenir.

Aranan değer bulunamazsa "-1", işlem Errorlıysa "ERR" sonucu dönersearched value, json array or text, result variable)

Assigns the position of the searched value in a text or JSON array to the result variable.

If searching is performed in the text, it shows the character position, if searching is performed in the JSON array, it shows which elements of the array it is. In the JSON object, the array name is expected to be "param".

If the searched value is not found, "-1" returns as the result, if the operation is incorrect, the result is "ERR".

Pos("001","P001",

@result)

Result: 2

Pos("K03",{"param":

["K01","K02","K03"]},

@result)

Result:3

1.0

TrimLeft

TrimLeft(metintext,uzunluklength,  sonuç değişkeni)Verilen metnin solundan itibaren belirtilen uzunluk kadarını silerresult variable)

Deletes the specified length from the left of the given text.

TrimLeft(@barcode,5,@materialcode)

1.0

PadRight

PadRight(metintext, uzunluklength, karaktercharacter, sonuç değişkeni)Verilen metnin sonuna, istenen karakterden belirtilen uzunlukta eklerresult variable)

Adds the requested character in the specified length to the end of the given text.

PadRight("K01",5,"0",

@result)

Result: K0100000

1.0

Split

Split(metintext, ayraç karakteribracket, sonuç değişkeni)Verilen metni, belirtilen karakterleri ayraç olarak olarak kullanarak parçalara böler. Verilen sonuç değişkeninin alt kırılımlarındaki değerlere yerleştirirresult variable)

Divides the given text into parts by using the specified characters as brackets. Places the values in the breakdowns of the given result variable.

Split(@barcode, "-",

@codes)

Usage: @codes.1

1.0

SplitForm at

SplitFormat(metintext,biçimformat, sonuç değişkeni)

Metni verilen biçime göre değişkenlere böler. Biçim tanımlanırken 1-9 arası sayılar, oluşacak değişkenin alt elemanlarını temsil eder. Yani, 1 olarak işaretlenmiş kısımları sonuç değişkeninin 1. alt elemanına atar.

- karakteri sonuca dahil edilmeyecek bölümleri ifade eder.

*karakteri başta ya da sonda kullanılır. Sonda kullanıldıysa, biçim uzunluğundan kalan kısım 10. alt elemana atılır. Başta kullanıldıysa, metnin sağdan belirtilen biçim kadar kısmı işlenir, öncesi 10. alt elemana atılırresult variable)

Divides the text into variables according to the given format. When defining the format, the numbers 1-9 represent the child elements of the variable to be generated. It transfers the parts marked as 1 to the 1st child element.

- character refers to sections that will not be included in the result.

* character is used at the beginning or at the end. If it is used, the remainder of the format length is transferred to the 10th lower element. If it is used at the beginning, the part of the text in the specified format on the right is processed. The remaining is transferred to the 10th child element.

SplitFormat

("NS140271.98",

"--111111-22",

@result)

@result.1 = 140271

@result.2 = 98

SplitFormat

("123456999",

"111222*",@result)

@result.1 = 123

@result.2 = 456

@result.10 = 999

1.0
SplitRegex

 SplitRegex(

metin

text,

regex biçimi, sonuç değişkeni)

Verilen metni, istenen Regular Expression ifadesine göre sonuç değişkenlerine böler.

Kullanılan Regular Expression ifadesi doğru tanımlanmalıdır.

Regular Expression ifadesinde kullanılan her parantez, değişkenin alt elemanı olarak çıktı verirregex format, result variable)

Divides the given text into result variables according to the requested Regular Expression.

The used Regular Expression must be defined correctly.

Each parenthesis used in the Regular Expression outputs a child element of the variable.

SplitRegex("SNO-AAA-

001","SNO-([A-Z]{3})[-.]

(\d+)",@result)

@result.1 = AAA

@result.2 = 001

https://regex101.com

/r/klWTkq/2

1.0

Değişken.

IsNumber

değişken

variable.IsNumberVerilen değişkenin

sayı olup olmadığını belirler. Sayı ise 0 değilse -1 değerini dönerSpecifies whether the given variable is a number. If it is a number, it returns 0; if not, it returns -1.

If(@code.IsNumber="0",

Goto(Detay),Goto

(Error))

1.0

Değişken.

IsDate

değişkenvariable.IsDate

Verilen değişkenin date biçiminde olup olmadığını belirler. date biçiminde ise 0 değilse -1 değerini dönerSpecifies whether the given variable is a date. If it is in date format, it returns 0; if it is not, -1.

If(@code.IsDate="0",

Goto(Detay),Goto

(Error))

1.0

Değişken.

IsAlpha

değişkenvariable.IsAlphaVerilen

değişkenin (harflerden ve sayılardan oluşan) alfanumerik bir değer olup olmadığını belirler. Biçimi uygun ise 0 değilse -1 değerini dönerSpecifies whether the given variable (consisting of letters and numbers) is an alphanumeric value. If the format is appropriate it returns 0; if not, -1.

If(@code.IsAlpha="0",

Goto(Detay),Goto

(Error))

1.0

Değişken.

Base64

değişkenvariable.Base64Verilen

değişkenin değerini Base64 olarak dönüştürürConverts the value of the given variable to Base64.

Text(1,1,

@materialcode.

Base64)

1.2

Today

Today(date biçimiformat,  sonuç değişkeni)Günün dateni verilen biçime uygun olarak sonuç değişkenine atar. Kullanılabilecek date biçimleri için şu dokümana başvurulabilirresult variable)

Assigns the current date to the result variable in accordance with the given format. This document can be used for date formats that can be used.

Today("dd.MM.yyyy", 

@today)

1.0

Now

Now(date biçimiformat, sonuç değişkeniresult variable)

Şu anki date ve saat infosini verilen biçime uygun olarak sonuç değişkenine atar. Kullanılabilecek date biçimleri için şu dokümana başvurulabilirAssigns the current date and time information to the result variable in accordance with the given format. This document can be used for date formats that can be used.

Now("hh:mm",@now)

1.0

FormatDate

FormatDate(günday,aymonth,yılyear,biçimformat,sonuç değişkeni)Verilen gün/ay/yıl değerleri ile belirtilen biçimde date oluşturur. Eğer date için uygun değerler verilmemişse geriye -1 değeri dönerresult variable)

Creates a date in the specified format with the given day/month/year values. If the appropriate values for the date are not given, the -1 value returns.

FormatDate(1,1,2000,"

yyyy-MM-dd",@date)

1.0

FormatDateTime

FormatDateTime(günday, aymonth, yılyear,saathour, dakikaminute, saniyesecond,biçimformat,sonuç değişkeni)Verilen gün/ay/yıl/saat/dakika/saniye değerleri ile belirtilen biçimde date oluşturur. Eğer date için uygun değerler verilmemişse geriye -1 değeri dönerresult variable)

Creates a date in the specified format with the given day/month/year/minute/second values. If the appropriate values for the date are not given, the -1 value returns.

FormatDateTime 

(1,1,2000,12,12,0,"

yyyy-MM-dd hh:mm",

@date)

1.0

...