CropStringToLength

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Declaration

Function  CropStringToLength        (Const StringToCrop : TDynamicString; Const MaximumLength : Integer) : TDynamicString;

Description

The CropStringToLength function removes leading and trailing spaces and control characters from the given string StringToCrop. The MaximumLength parameter specifies the string from index 0 to MaximumLength that will be returned by the function. The remaining portion of the string is chopped.

See also

String Manipulation Routines

Your Ad Here