Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

311 RIGHT$ Purpose To copy the right hand part of one string into another string. For example if ABCDE$="HOW ARE YOU" then RIGHT$(ABCDE$,3) would be "YOU" and RIGHT$(ABCDE$,7) would be "ARE YOU" Note that RIGHT$(ABCDE$,100) would be "HOW ARE YOU" since there are only 11 characters in HOW ARE YOU . Examples A$=RIGHT$(B$,5) last$=RIGHT$(last$,X) Description A string function returning a specified number of characters from the right hand end of another string. Syntax = RIGHT$ ( , ) Associated keywords LEFT$ , MID$