|
ref
|
The ref function retrieves a the I-th character from a
Text or String.
The ref function is used to access a single character from a String or Text. Assuming there are n characters in the String or Text, the character indices run from 0 thru n-1
(ref string index) (ref string index) Strong Typed:
An integer index
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
(refString string index)
(refText text index)
Name
Description
AIS Types string A String object or Text String or Text index An integer index Integer
Returns:
Examples
Argument Types
String
Symbol
Structure
Brick
Matrix
List
Void
Number
Date
Function
ObjectRepository
ShortVector
Dictionary
Directory
Vector
Text
Integer
Boolean
Character
Complex
Lambda
NumMatrix
How do I contact the AIS team?