Blitz Basic 2 - Reference Guide-ENG

Page 70

Function: StripTrail$ Syntax: StripTrail$ (String$,Expression) Modes: Amiga/Blitz Description: StripTrail$ removes all trailing occurrences of the ASCII character specified by Expression from the string String$. Example: Print StripTrail$("AABBAAB",66): ;Wi/I print AABBAA

See Also: StripLead$

Function: LSet$ Syntax: LSet$ (String$,Characters) Modes: Amiga/Blitz Description: This function returns a string of Characters characters long. The string String$ will be placed at beginning of this string. If String$ is shorter than Characters the right hand side is padded with spaces. If it is longer, it will be truncated. Example: Print LSet$("Guy Fawkes",6): ; Will print "Guy Fa" Print LSet$("Guy",6): ; Will print "Guy "

See Also: RSet$, CentreS

Function: RSet$ Syntax: RSet$ (String$,Characters) Modes: Amiga/Blitz Description: This function returns a string of Characters characters long. The string String$ will be placed at end of this string. If String$ is shorter than Characters the left hand side is padded with spaces. If it is longer, it will be truncated. Example:

6-8


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.