Equinox Online Help - Language Reference - A to Z

Home

Chrs

Applies to
SyntaxChrs (StringorWordExpression, CountExpression)
Action[Function] Returns a string filled with specified characters
ScopeUsable anywhere.
Notes

This function returns a string which has been filled with characters supplied by the StringorWord parameter. These may be either a number denoting an ASCII value or a string containing a character. The string is filled with Count repetitions of StringorWord.

CategoryString handling
See Also ChrList, Compare, Fill, IsNumber, Left_Function, Len, Match, Maxlen, Mid_Function, Remove, Replace, Right_Function], Search_SearchNext, SetLen, SetMaxLen, SortOrder, SubstituteData
Example

This code extract fills the string Buffer with 256 repetitions of the letter "X".

string vsBuffer(256)

vsBuffer = Chrs("X", 256)