User Tag List

Results 1 to 3 of 3

Thread: Appending Text From EditBox to String?

  1. #1
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Appending Text From EditBox to String?

    I need to find the easiest way to add an extra "\" to the text from an editbox, and put it into a string. I have an editbox that the user will input a file location into. I then need to take that text and put it into a string.

    Example: If the file name is: C:\Program Files\Microsoft\Microsoft Games, I need to be able to add an extra "\" everywhere that one already is. So the string would be C:\\Program Files\\Microsoft\\Microsoft Games.

    Can anyone help me with this please?

    Thanks in advance for your help, guys!
    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Appending Text From EditBox to String?

    You could use an object like substring replace or string parser to replace \ with \\.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Appending Text From EditBox to String?

    Thanks, Jaffob. I will try that out.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Similar Threads

  1. Editbox, multiline, text align center and autoscroll horizontal (BUG?)
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th April 2013, 07:53 PM
  2. Set edit box text to string$("string object") causes long delay
    By MJK in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 22nd August 2012, 02:58 PM
  3. Appending of multiple strings
    By Greasy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd January 2012, 02:15 AM
  4. Save to the ANSI text by the Unicode Editbox
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th October 2010, 10:38 AM
  5. Highlighting text in an Editbox
    By Paul_Boland in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th May 2010, 04:35 AM

Posting Permissions

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