BRL.Retro: | Functions | Modinfo | Source |
Function Bin$( val ) | |
Returns | The binary string representation of val. |
Description | Convert an integer value to a binary string. |
Function Hex$( val ) | |
Returns | The hexadecimal string representation of val. |
Description | Convert an integer value to a hexadecimal string. |
Function Instr( str$,sub$,start=1 ) | |
Returns | The position within str of the first matching occurance of sub. |
Description | Find a string within a string. |
Information | The start parameter allows you to specifying a starting index for the search. For compatiblity with classic BASIC, the start parameter and returned position are both 'one based'. |
Function Left$( str$,n ) | |
Returns | size leftmost characers of str. |
Description | Extract characters from the beginning of a string. |
Information | The Left$ command returns a substring of a String. Given an existing String and a size, Left$ returns the first size characters from the start of the String in a new String. |
Function LongBin$( val:Long ) | |
Returns | The binary string representation of val. |
Description | Convert a 64 bit long integer value to a binary string. |
Function LongHex$( val:Long ) | |
Returns | The hexadecimal string representation of val. |
Description | Convert a 64 bit long integer value to a hexadecimal string. |
Function Lower$( str$ ) | |
Returns | Lowercase equivalent of str. |
Description | Convert string to lowercase. |
Function LSet$( str$,n ) | |
Returns | A string of length n, padded with spaces. |
Description | Left justify string. |
Function Mid$( str$,pos,size=-1 ) | |
Returns | A sequence of characters from str starting at position pos and of length size. |
Description | Extract substring from a string. |
Information | The Mid$ command returns a substring of a String.
Given an existing String, a position from the start of the String and
an optional size, Mid$ creates a new String equal to the section specified.
If no size if given, Mid$ returns the characters in the existing String from
position to the end of the String. For compatibility with classic BASIC, the pos parameter is 'one based'. |
Function Replace$( str$,sub$,replaceWith$ ) | |
Returns | A string with all instances of sub$ replaced by replace$ |
Description | Performs a search and replace function. |
Information | The Replace$ command replaces all instances of one string with another. |
Function Right$( str$,n ) | |
Returns | size rightmost characters of str. |
Description | Extract characters from the end of a string. |
Information | The Right$ command returns a substring of a String. Given an existing String and a size, Right$ returns the last size characters from the end of the String. |
Function RSet$( str$,n ) | |
Returns | A string of length n, padded with spaces. |
Description | Right justify string. |
Function Trim$( str$ ) | |
Returns | str with leading and trailing unprintable characters removed. |
Description | Remove unprintable characters from ends a string. |
Function Upper$( str$ ) | |
Returns | Uppercase equivalent of str. |
Description | Convert string to uppercase. |
Version | 1.09 |
---|---|
Author | Mark Sibly |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |
History | 1.09 Release |
History | Cleaned up Mid$ |
History | 1.08 Release |
History | Deleted network stuff |