Loading ...
Sorry, an error occurred while loading the content.

47513Re: [LIBERTYBASIC] Mis$ command

Expand Messages
  • Gary Passmore
    May 12, 2014
      This is one way:

      if mid$(a$,b,y)="change" then a$=left$(a$,b-1)+"xxxxxx"+mid$(a$,b+y)
      Gary Passmore
      ...from the world according to GaRPMorE
      On Monday, May 12, 2014 8:01 PM, "'onesildjs' onesild@... [LIBERTYBASIC]" <LIBERTYBASIC@yahoogroups.com> wrote:
       
       
      I would  like some help in using de MID$ command.
      In the old Basic I used the command to change the contents of a string,  but in LBB do not exists this function.
       
      Ex.:  if Mid$(a$, x, y) = "change" then Mid$(a$, x, y) = "xxxxxx"
       
      Onesild
       
       


    • Show all 6 messages in this topic