A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Substrings

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    3

    Substrings

    I just bought 3DFA 4 release 5, to make a language program. The substring function does not work and I have a message that it is not recognised. In 3DFA 3.3, this function worked OK in the program but not when exported to the browser. Has this function (substring) worked with some one else? i.e. Is it me or the program?
    Emad

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    Re: Substrings

    Originally posted by Emad Samy
    I just bought 3DFA 4 release 5, to make a language program. The substring function does not work and I have a message that it is not recognised. In 3DFA 3.3, this function worked OK in the program but not when exported to the browser. Has this function (substring) worked with some one else? i.e. Is it me or the program?
    Emad
    Be sure you are using the proper syntax I just tested a substring function and it work fine preview and export

    Mystring.substr(index,[length])

    where Mystring is the string to get data and index is the starting point to look from and the optional length is how many characters to retrieve which if omited goes to the end of the string

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    3

    Re: Substrings

    Thank you, Blanius.
    The substring works well now, both in the program and the exported file.
    Emad

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

HTML5 Development Center