Results 1 to 3 of 3

Thread: Insert String

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    343

    Insert String

    I'm having trouble inserting a string into another string. I need it to find the character "{" then place a set of strings on the next line. I have this (No error, just doesn't work)

    vb.net Code:
    1. Dim L As Integer
    2.  
    3.         L = AppM.ToString.IndexOf("{")
    4.  
    5.         Debug.Print(L)
    6.  
    7.         AppM.Insert(L, _
    8. ..")
    9.  
    10.         FrmCode.RTB3.Text = AppM
    Last edited by bluehairman; Feb 15th, 2009 at 04:13 PM.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,422

    Re: Insert String

    AppM = AppM.Insert(L, _ 'etc

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    343

    Re: Insert String

    Quote Originally Posted by .paul.
    AppM = AppM.Insert(L, _ 'etc
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width