Category > Character functions xHarbour Developers Network  

 
ItemDescription
AddASCII()Adds a numeric value to the ASCII code of a specified character in a string.
AfterAtNum()Extracts the remainder of a string after the last occurrence of a search string.
AllTrim()Removes leading and trailing blank spaces from a string.
ASCIISum()Sums the ASCII codes of all characters in a string.
AscPos()Determines the ASCII code of a specified character in a string.
At()Locates the position of a substring within a character string.
AtAdjust()Justifies a character sequence within a string.
AtNum()Searches multiple occurrences of a substring within a string.
AtRepl()Searches and replaces a substring within a string.
AtSkipStrings()Locates the position of a substring within a character string.
AtToken()Returns the position of the n-th token in a string.
BeforAtNum()Extracts the remainder of a string before the last occurrance of a search string.
Center()Returns a string for centered display.
CharAdd()Creates a string from the sum of ASCII codes of two strings.
CharAND()Binary ANDs the ASCII codes of characters in two strings.
CharEven()Extracts characters at even positions from a string.
CharHist()Creates a histogram of characters in a character string
CharList()Removes duplicate characters from a string.
CharMirr()Reverses the order of characters in a string.
CharMix()Merges the characters of two strings.
CharNoList()Returns a string containing all characters not included in a string.
CharNOT()Binary NOTs the ASCII codes of characters in two strings.
CharOdd()Extracts characters at odd positions from a string.
CharOne()Removes duplicate adjacent characters from a string.
CharOnly()Removes all characters but the specified ones from a string
CharOR()Binary ORs the ASCII codes of characters in two strings.
CharPack()Compresses a string.
CharRela()Tests if two substrings in two strings have the same position.
CharRelRep()Replaces characters if two substrings in two strings have the same position.
CharRem()Deletes specified characters from a string.
CharRepl()Searches a list of characters and replaces them with a corresponding list.
CharRLL()Rotates bits in a character string to the left.
CharRLR()Rotates bits in a character string to the right.
CharSHL()Shifts bits in a character string to the left.
CharSHR()Shifts bits in a character string to the right.
CharSList()Removes duplicate characters from a string and sorts the result.
CharSort()Sorts character (sequences) within a string.
CharSpread()Formats a character string for block paragraphs.
CharSub()Creates a string by subtracting ASCII codes of two strings.
CharSwap()Exchanges adjacent characters in a string.
CharUnpack()Uncompresses a CharPack() compressed string.
CharXOR()Binary XORs the ASCII codes of characters in two strings.
CheckSum()Calculates the checksum for a character string.
CountLeft()Counts a specified character from the left side of a string.
CountRight()Counts a specified character from the right side of a string.
Crypt()Encrypts or decrypts a character string.
CSetAtMuPa()Queries or changes the multi-pass mode for At***() functions.
CSetRef()Queries or changes the pass-by-reference mode for several string functions.
Expand()Inserts characters between all characters in a string.
HardCR()Replaces soft carriage returns with hard CRs in a character string.
HB_ATokens()Splits a string into tokens based on a delimiter.
HB_AtX()Locates a substring within a character string based on a regular expression.
HB_Crypt()Encrypts a character string.
HB_Decrypt()Decrypts an encrypted character string.
HB_FNameMerge()Composes a file name from individual components.
HB_FNameSplit()Splits a file name into individual components.
HB_ReadLine()Scans a formatted character string or memo field for text lines.
HB_RegEx()Searches a string using a regular expression
HB_RegExAll()Parses a string and fills an array with parsing information.
HB_RegExAtX()Parses a string and fills an array with parsing information.
HB_RegExComp()Compiles a regular expression into a binary search pattern.
HB_RegExMatch()Tests if a string contains a substring using a regular expression
HB_RegExReplace()Searches and replaces characters within a character string using a regular expression.
HB_RegExSplit()Parses a string using a regular expression and fills an array.
HexToStr()Converts a Hex encoded character string to an ASCII string.
IsAlNum()Checks if the first character of a string is alpha-numeric.
IsAlpha()Checks if the first character of a string is a letter.
IsAscii()Checks if the first character of a string is a 7-bit ASCII character.
IsCntrl()Checks if the first character of a string is a control character.
IsDigit()Checks if the first character of a string is a digit.
IsGraph()Checks if the first character of a string is a 7-bit graphical ASCII character.
IsLower()Checks if the first character of a string is a lowercase letter.
IsPrint()Checks if the first character of a string is a printable 7-bit ASCII character.
IsPunct()Checks if the first character of a string is a punctuation character.
IsSpace()Checks if the first character of a string is a white-space character.
IsUpper()Checks if the first character of a string is an uppercase letter.
IsXDigit()Checks if the first character of a string is a hexadecimal digit.
JustLeft()Left justifies characters in a character string.
JustRight()Right justifies characters in a character string.
Left()Extracts characters from the left side of a string
Len()Returns the number of items contained in an array, hash or string
Lower()Converts a character string to lowercase.
LTrim()Removes leading white-space characters from a character string.
MaxLine()Returns the longest line in an ASCII formatted character string.
MemoEdit()Displays and/or edits character strings and memo fields in text mode.
MemoLine()Extracts a line of text from a formatted character string or memo field.
MemoRead()Reads an entire file from disk into memory.
MemoTran()Replaces "carriage return/line feed" pairs in a character string.
MemoWrit()Writes a character string or a memo field to a file.
MLCount()Counts the number of lines in a character string or memo field
MLCToPos()Determines the position of a single character in a formatted text string or memo field.
MlPos()Determines the starting position of a line in a formatted character string or memo field.
MPosToLC()Calculates row and column position of a character in a formatted string or memo field.
NumAt()Counts multiple occurrences of a substring within a string.
NumLine()Returns the number of lines in an ASCII formatted character string.
NumToken()Returns the number of tokens in a string.
Occurs()Counts the occurrance of a substring in a character string.
PadC() | PadL() | PadR()Pads values of data type Character, Date and Numeric with a fill character.
PadLeft()Pads a character string on the left.
PadRight()Pads a character string on the right.
PosAlpha()Returns the position of the first alphabetic characters in a character string.
PosChar()Replaces a single character at a specified position in a string.
PosDel()Deletes character(s) at a specified position in a string.
PosDiff()Searches the first position where two character strings differ.
PosEqual()Searches the first position where two character strings are equal.
PosIns()Inserts character(s) at a specified position in a string.
PosLower()Returns the position of the first lower case letter in a character string.
PosRange()Retrieves the position of the first character out of a range found in a string.
PosRepl()Replaces characters in a string beginning at a specified position.
PosUpper()Returns the position of the first upper case letter in a character string.
RangeRem()Deletes character(s) within a specified range of characters.
RangeRepl()Repleaces character(s) within a specified range of characters.
RAt()Locates the position of a substring within a character string.
RemAll()Deletes a specified character from both sides of a string.
RemLeft()Deletes a specified character from the left side of a string.
RemRight()Deletes a specified character from the right side of a string.
ReplAll()Replaces a specified character on both sides of a string.
Replicate()Creates a character string by replicating an input string.
ReplLeft()Replaces a specified character on the left side of a string.
ReplRight()Replaces a specified character on the right side of a string.
RestToken()Restores the global environment of the incremental tokenizer.
Right()Extracts characters from the right side of a string
RTrim()Removes trailing blank spaces from a character string.
SaveToken()Saves the global environment of the incremental tokenizer.
SetAtLike()Sets the search mode for At***() functions
SoundEx()Converts a character string using the Soundex algorithm.
Space()Returns a string consisting of blank spaces.
Str()Converts a numeric value to a character string.
Strdel()Deletes characters from a string based on a mask string.
StrDiff()Calculates the similarity of two strings.
StrSwap()Exchanges characters between two strings.
StrToHex()Converts a character string to a Hex string.
StrTran()Searches and replaces characters within a character string or memo field.
StrZero()Converts a numeric value to a character string, padded with zeros.
Stuff()Deletes and/or inserts characters in a string.
SubStr()Extracts a substring from a character string.
SX_Decrypt()Decrypts an encrypted character string.
SX_Encrypt()Encrypts a character string.
TabExpand()Replaces a tab with a specified number of another character.
TabPack()Inserts a Tab (Chr(9)) for multiple occurrances of a character.
Token()Retrieves the n-th token from a string.
TokenAt()Returns the start and end position of a token.
TokenEnd()Tests if tokens can still be found with TokenNext().
TokenExit()Releases memory resources of the global tokenizer environment.
TokenInit()Initializes the environment for the incremental tokenizer.
TokenLower()Changes the first character of tokens to lower case.
TokenNext()Retrieves the next token from a string.
TokenNum()Returns the number of tokens in a tokenizer environment.
TokenSep()Retrieves the separating characters of a token.
TokenUpper()Changes the first character of tokens to upper case.
Trim()Removes trailing blank spaces from a character string.
Upper()Converts a character string to uppercase.
Val()Convert a character string containing digits to numeric data type
ValPos()Returns the numeric value of a digit at a specified position in a string.
Wild2RegEx()Converts a character string including wild card characters to a regular expression.
WildMatch()Tests if a string begins with a search pattern.
WordOne()Removes duplicate adjacent words (2-byte sequences) from a string.
WordOnly()Removes all words (2-byte sequence) but the specified ones from a string
WordRem()Deletes specified words (2-byte sequence) from a string.
WordRepl()Replaces words (2-byte sequences) in a string with a specified word.
WordSwap()Exchanges adjacent words (2-byte sequences) in a string.
WordToChar()Replaces words (2 byte sequence) with characters (1 byte)


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe