Retrieve String: All Functions
About ASTER’s String Data Features
ASTER integrates REGEX and JSON into its core functionalities. Due to handling JSON, only UTF-8 character encoding is supported.
Both are core features for managing string data. REGEX is used for searching and replacing, while JSON is used for tasks such as collecting data to save to text files or loading data from files.
As ASTER supports a wide range of string functions, this page focuses solely on string editing features, introducing them by category. You can find a list of what can be achieved with ASTER’s string editing.
REGEX
Provides advanced string editing features. Knowledge of Regular Expression for ECMAScript is required.
-
String Search: Retrieve submatches from search results for exact match search and partial match search.
-
ASTER::Expression::REGEX::Get Submatch; Exact Match
-
ASTER::Expression::REGEX::Get Submatch; Partial Match
-
-
String Replace: Retrieve the replaced string, supports control characters such as newline codes.
- ASTER::Expression::REGEX::Get Replaced String
JSON
A versatile and highly readable data format. Its simplicity makes it easy for beginners to handle.
-
Reading and writing JSON-formatted data
-
Saving search and replace results using REGEX in JSON format is possible
A feature to dump output of JSON data loaded into memory is available, and value retrieval using JSON Pointer is also possible.
-
ASTER::Expression::JSON::Get Dump (or MetaInfo)
-
ASTER::Expression::JSON::Get Flatten Dump
-
ASTER::Expression::JSON::Get String with a current Targeted JSON Pointer
JSON data can handle data types other than strings. A feature that forcibly converts the data type and retrieves it as a string is known as the “Get As String” function, and it is distinguished from the string retrieval function that does not involve conversion processing.
-
ASTER::Expression::JSON::Get as String by JSON Pointer
-
ASTER::Expression::JSON::Get as String from the Targeted
-
ASTER::Expression::JSON::Get as String from Targeted Array
ASTER
A feature to store strings using memory areas is available, allowing you to pass strings set as initial values at the start of the application or send and receive strings at any time during application execution. “Date & Time” can also be used to obtain timestamps.
-
ASTER::Action::Set Text
-
ASTER::Expression::General Functions::Get String
-
ASTER::Expression::General Functions::Get Date & Time
Object Motion Control
“Object Motion Control” has a debugging feature that outputs a list of registration information for object instances included in the registered motion groups as a string.
- ASTER::Expression::ObjectMotionControl::Get Debug Info
FileSystem: ( Obsolete )
The ASTER Beta version included FileSystem functionality, which had features such as obtaining file and folder lists within a specified folder. The Beta version is no longer available.
The implementation was canceled in the official ASTER version. rev.0.9.15