Help Center
Help CenterFreeBASIC

String Functions

40 entries across 1 topic.

Topics

All entries

Procedures 40

AscReturns the corresponding ASCII or Unicode integer representation of a character.BinReturns a binary (base 2) string representation of an integerChrReturns a string of characters from one or more ASCII integer valuesCVDConverts a 64-bit integer or 8-byte string to a double-precision valueCVIConverts a floating-point number or string to an integer variable using a binary copyCVLConverts a single-precision floating-point number or four-byte string to an integer (Long) variableCVLongIntConverts a double-precision floating-point number or eight-byte string to a LongInt variableCVSConverts a 32-bit integer or 4-byte string to a single-precision variableCVShortConverts a two-byte string to a Short integer variableFormatFormats a number in a specified formatHexReturns the hexadecimal of the given numberInStrLocates the first occurrence of a substring or character within a stringInStrRevLocates the last occurrence of a substring or character within a stringLCaseReturns a lower case copy of a stringLeftReturns the leftmost substring of a stringLenReturns the length of an expression or data typeLSetLeft-justifies a stringLTrimRemoves surrounding substrings or characters on the left side of a stringMidReturns a substring of a stringMidOverwrites a substring of a string with anotherMKDDoes a binary copy from a Double variable to a String, setting its length to 8 bytesMKIDoes a binary copy from an integer variable to a String of the same length as the size of the input variableMKLDoes a binary copy from a Long variable to a String, setting its length to 4 bytesMKLongIntDoes a binary copy from a LongInt variable to a String, setting its length to 8 bytesMKSDoes a binary copy from a Single variable to a String, setting its length to 4 bytesMKShortDoes a binary copy from a Short variable to a String, setting its length to 2 bytesOctConverts a number to octal representationRightReturns the rightmost substring of a stringRSetRight justifies a string in a string bufferRTrimRemoves surrounding substrings or characters on the right side of a stringSpaceCreates a string of a given length filled with spaces (" ")StringCreates and fills a string of a certain length with a certain characterTrimRemoves surrounding substrings or characters on the left and right side of a stringUCaseReturns an upper case copy of a stringWBinReturns the binary WString (Unicode) representation of a numberWChrReturns a wide-character string containing one or more Unicode charactersWHexReturns the hexadecimal WString (Unicode) representation of a numberWOctConverts a number to a Unicode octal representationWSpaceCreates a WString of a given length filled with spaces (" ")WstringFills a WString with a certain length of a certain wide character