- v3.0.13
- New operation GetJsonArrayItem
- Provided a json array and an index, the operation will return the array item at the index.
- example 1: GetJsonArrayItem('[1, 2, 3]', 1)
- return value 2
- example 2: GetJsonArrayItem('[1, 2, 3]', 3)
- throw an ArgumentException since array index is out of bound
- New operation GetJsonArrayItem
- v3.0.12
- New operation RegexCapture
- RegexCapture can be used to extract part of a text string using regex pattern and capature groups.
- Operands
- text to be parsed
- regex pattern
- group capture index (optional with the default of 0)
- example 1: RegexCapture('abc123', '[a-z]+(\d+)', 1)
- returns 123
- example 2: RegexCapture('abc123', '[a-z]+(\d+)')
- return abc123 because capture index is not specified and 0 is used by default
- example 3: RegexCapture('abc123', '[a-z]+(\d+)', 3)
- throw an ArgumentException since capture index is out of bound
- New operation RegexCapture
- 3.0.11
- New operation
- Floor - The Floor operation calls C# Math.Floor. It returns the largest integral value from the input double number.
- Round - The Round operation calls C# Math.Round and use AwayFromZero rounding
- Operands
- double value to be rounded
- number of fractional digits in the return value
- Operands
- UnixTimestamp2DateTime - Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a DateTime value in UTC
- Operands
- integer: number of seconds that have elapsed since 1970-01-01T00:00:00Z
- Operands
- New operation
-
Notifications
You must be signed in to change notification settings - Fork 5
c# expression parser and evaluator
License
RushuiGuan/expression
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
c# expression parser and evaluator
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published