5-4-1 String functions
Function name | Feature |
---|---|
Retrieves numeric-type data indicating what digit position the specified string is in from the beginning, when counting half-width characters as 1 digit and full-width characters as 2 digits. If the string is located at the beginning, 1 is retrieved. Whether full-width or half-width is determined based on the SVF-specific specification. | |
Retrieves numeric-type data indicating what character position the specified string is in from the beginning of the text-type data. If the string is located at the beginning, 1 is retrieved. | |
Retrieves a partial string of the specified number of digits from the beginning, counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. | |
Retrieves a partial string of the specified number of characters from the beginning. | |
Retrieves the number of digits of data as numeric-type data, when counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. | |
Retrieves the number of characters of data as numeric-type data. | |
Repeatedly prints a string for the specified number of times. | |
Retrieves a partial string of the specified number of digits from the end of the data, counting half-width characters as 1 digit and full-width characters as 2 digits. The last digit is 1. Whether full-width or half-width is determined based on the SVF-specific specification. | |
Retrieves a partial string of the specified number of characters from the end of the data. The last digit is 1. | |
Inserts the specified number of half-width spaces. | |
Retrieves a partial string of the specified number of digits, starting at a specified digit from the beginning of the string, counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. | |
Retrieves a partial string of the specified number of characters, starting at a specified point. | |
Replaces a character or string with the specified string. | |
Reverses the string order. |
AT
Feature | Retrieves numeric-type data indicating what digit position the specified string is in from the beginning, when counting half-width characters as 1 digit and full-width characters as 2 digits. If the string is located at the beginning, 1 is retrieved. Whether full-width or half-width is determined based on the SVF-specific specification. |
---|---|
Format | AT(string_or_character_field_name,character) |
Settings |
CautionBecause the value is retrieved as numeric-type data, if the function is used in the edit-formula, the value must be converted into text-type data by using the FORMAT or STR function before using the result. |
Usage examples | Prerequisite When "Tokyo" is entered in the text field "S1"
|
ATW
Feature | Retrieves numeric-type data indicating what character position the specified string is in from the beginning of the text-type data. If the string is located at the beginning, 1 is retrieved. |
---|---|
Format | ATW(string_or_character_field_name,search_string) |
Settings |
CautionBecause the value is retrieved as numeric-type data, if the function is used in the edit-formula, the value must be converted into text-type data by using the FORMAT or STR function before using the result. |
Usage examples | Prerequisite When "東京都
|
LEFT
Feature | Retrieves a partial string of the specified number of digits from the beginning, counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. | ||||
---|---|---|---|---|---|
Format | LEFT(string_or_character_field_name,number_of_digits) | ||||
Settings |
| ||||
Usage examples | Prerequisite When "Shibuya, Tokyo" is entered in the text field "S1"
|
LEFTW
Feature | Retrieves a partial string of the specified number of characters from the beginning. | ||||
---|---|---|---|---|---|
Format | LEFTW(string_or_character_field_name,number_of_character) | ||||
Settings |
| ||||
Usage examples | Prerequisite When "東京都
|
LEN
Feature | Retrieves the number of digits of data as numeric-type data, when counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. |
---|---|
Format | LEN(string_or_character_field_name) |
Settings |
CautionBecause the value is retrieved as numeric-type data, if the function is used in the edit-formula, the value must be converted into text-type data by using the FORMAT or STR function before using the result. |
Usage examples | Prerequisite When "Tokyo" is entered in the text field "S1"
|
LENW
Feature | Retrieves the number of characters of data as numeric-type data. |
---|---|
Format | LENW(string_or_character_field_name) |
Settings |
CautionBecause the value is retrieved as numeric-type data, if the function is used in the edit-formula, the value must be converted into text-type data by using the FORMAT or STR function before using the result. |
Usage examples | Prerequisite When "東京都
|
REP
Feature | Repeatedly prints a string for the specified number of times. |
---|---|
Format | REP(string_or_character_field_name,count) |
Settings |
|
Usage examples | Prerequisite When "Tokyo" is entered in the text field "S1"
|
RIGHT
Feature | Retrieves a partial string of the specified number of digits from the end of the data, counting half-width characters as 1 digit and full-width characters as 2 digits. The last digit is 1. Whether full-width or half-width is determined based on the SVF-specific specification. | ||||
---|---|---|---|---|---|
Format | RIGHT(string_or_character_field_name,number_of_digits) | ||||
Settings |
| ||||
Usage examples | Prerequisite When "Shibuya, Tokyo" is entered in the text field "S1"
|
RIGHTW
Feature | Retrieves a partial string of the specified number of characters from the end of the data. The last digit is 1. | ||||
---|---|---|---|---|---|
Format | RIGHTW(string_or_character_field_name,number_of_character) | ||||
Settings |
| ||||
Usage examples | Prerequisite When "東京都
|
SPC
Feature | Inserts the specified number of half-width spaces. |
---|---|
Format | SPC(number_of_characters) |
Settings | In "number_of_characters", specify a numeric value for how many half-width spaces to insert. CautionBe sure to set the "Edit style" of the field to "None". SVF executes the edit-formula first, and then processes the field's edit style. Therefore, even if blank spaces are inserted using the SPC function, those blank spaces are eliminated afterwards if left-align is selected in the edit style of the field. |
Usage examples | Prerequisite When "Shibuya, Tokyo" is entered in the text field "S1"
|
MID
Feature | Retrieves a partial string of the specified number of digits, starting at a specified digit from the beginning of the string, counting half-width characters as 1 digit and full-width characters as 2 digits. Whether full-width or half-width is determined based on the SVF-specific specification. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Format | MID(string_or_character_field_name,start_index,number_of_digits) | ||||||||
Settings |
| ||||||||
Usage examples | Prerequisite When "Shibuya, Tokyo" is entered in the text field "S1"
|
MIDW
Feature | Retrieves a partial string of the specified number of characters, starting at a specified point. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Format | MIDW(string_or_character_field_name,start_index,number_of_character) | ||||||||
Settings |
| ||||||||
Usage examples | Prerequisite When "東京都
|
REPLACE
Feature | Replaces a character or string with the specified string. |
---|---|
Format | REPLACE(string_or_character_field_name,search_string,substitution_string) |
Settings |
|
Usage examples | Prerequisite When "John Smith" is entered in the text field "S1"
CautionBe sure to set the "Edit style" of the field to "None", when replacing the data with blank space. SVF executes the edit-formula first, and then processes the field's edit style. Therefore, even if blank spaces are inserted using the REPLACE function, those blank spaces are eliminated afterwards if left-align is selected in the edit style of the field. |
REVERSE
Feature | Reverses the string order. |
---|---|
Format | REVERSE(string_or_character_field_name) |
Settings | In "string_or_character_field_name", specify the text-type data that you want to output in reverse, or the name of the field that contains the data. |
Usage examples | Prerequisite When "ABCDE" is entered in the text field "S1"
|