Common Facilities Flashcards
What is DIV?
Integer division. Only rounds down. Doesn’t give the remainder.
What is MOD?
Finds and returns the remainder from an integer division.
What is meant by operator precedence?
The order in which operations are carried out.
What is the order of boolean operator precedence?
NOT
AND
OR
What is POS()?
Pos(SubString, MainString)
Pos will find the location of a substring in a main string.
What is Length()?
Length(yourString)
This will return the length of yourString.
What is LeftStr()?
LeftStr(yourString, Count)
LeftStr will get the number of characters in yourString, given by Count, starting on the left.
What is RightStr()?
RightStr(yourString, Count)
RightStr will get the number of characters in yourString, given by Count, starting on the right.
What is Copy()?
Copy(yourString, Start, Count)
Copy will get the number of characters in yourString given by Count, starting at the character given by Start.
What is Concat()?
Concat(String1,String2, etc ) This concatenates (puts together) two or more strings.
You can also use + in some languages.