Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question XML FormatText statement

    Im trying to make some changes to the way text is formated in a script.

    Script currently is : <Title FormatText="{0}, {1}, {2}, {3}, {4}">
    I cant find an explanation of the "FormatText" statement so I dont know what the correct operators / syntax is.

    Can anyone point me in the right direction please?

    Thanks

    Dave

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,348
    Thanks
    23
    Thanked 618 Times in 617 Posts
    If this is a line of xml than "FormatText" is an attribute of the the element "Title". That's it's explanation, it has no 'coding' meaning. It could have been called "ChumpChange" and we could get it's value which is "{0}, {1}, {2}, {3}, {4}".

    I just posted about working with them here http://www.codingforums.com/showthread.php?t=293034. Take a look.
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Tags for this Thread

    Posting Permissions

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