NO

Author Topic: BASIC String functions  (Read 4640 times)

kingboyD

  • Guest
BASIC String functions
« on: January 01, 2011, 08:08:16 pm »
Functions as used in BASIC language:

left()        # return the leftmost N characters from a string, equivalent to LEFT$
right()      # return the rightmost N characters from a string, equivalent to RIGHT$
mid()        # return a substring, N characters long beginning at position M, equivalent to MID$
string()     # create a string of repeated characters, equivalent to STRING$()
trim()       # remove leading, trailing, & excess embedded spaces

David L Morris

  • Guest
Re: BASIC String functions
« Reply #1 on: January 03, 2011, 08:50:40 am »
Thanks for this posting.  I am enjoying testing these routines.  They will be a great help for BASIC programmers who want to explore the C language.