Trading Blox includes several different built-in functions to manipulate strings.
| Parameter: | Description: | 
|---|---|
| Returns the ASCII character code corresponding to the first letter in a string. | |
| Converts its parameters from integers to corresponding ASCII characters and returns the string composed of these characters. | |
| Converts a numeric expression and it assigns the result to a text variable. Optional [addCommas] parameter when set to True will add commas to the integer portion of a large number. | |
| Returns the position of the first occurrence of one string within another. | |
| Formats the number or string using the format string. | |
| ( Replaced: GetNumberField GetStringField ) | This function will parse a comma delimited string and return the nth field. Function will access both number and text character fields. 
 NOTE: GetStringField was previously required for text character fields, and GetNumberField was required for number fields before GetField was created to handle both data types. | 
| This function returns the number of comma delimited values in a text string. | |
| This function returns the field number of a string. | |
| Converts any Upper-Case text characters to Lower-Case. | |
| Returns a specified number of characters from the left-side of a string. | |
| Returns a specified number of characters to copy from the middle of a string. | |
| Removes the commas that are between quotes from an imported file record string. | |
| Removes any characters that are not numbers from the string. | |
| Replaces text found in the search string with the text provided as a replacement text. | |
| Returns a specified number of characters from the right side of a string. | |
| Returns the number of characters in a string text expression | |
| Returns a copy of the input string without the leading space characters. | |
| Returns a copy of the input string without the trailing space characters. | |
| Returns a copy of the input string without the leading and trailing spaces. | |
| Returns Lower-Case text characters to Upper-Case in a string expression. | 
| Example: | 
|---|
| Note:Note that to concatenate strings, the Plus ( + ) sign is used as follows: 
 string1 = "Hello" | 
| Results: | 
|---|
| Prints "HelloWorld" | 
| Links: | 
|---|
| 
 | 
| See Also: | 
| Edit Time: 9/18/2020 1:29:29 PM | Topic ID#: 588 |