playMaker

Author Topic: Format String Question  (Read 1078 times)

phannDOTde

  • Full Member
  • ***
  • Posts: 234
    • View Profile
    • Peter Hann .de
Format String Question
« on: December 30, 2013, 11:38:47 PM »
I saw that String Format can not only be used to insert Var in a string using {N} but all so define how they apear in example to break down a shown score from "5555" to be displayed as "5.555".

Now my question - where can I find some documentation how to do that? cant find anything on the default doku in the wiki here https://hutonggames.fogbugz.com/default.asp?ixWiki=1&pg=pgSearchWiki&qWiki=title:Format%20String

Any ideas?

cheers
Peter

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13518
  • Official Playmaker Support
    • View Profile
Re: Format String Question
« Reply #1 on: January 02, 2014, 03:56:59 AM »
Hi,

 this info will be found on the microsoft .net and c# in general:

http://msdn.microsoft.com/en-us/library/system.string.format(v=vs.110).aspx

http://www.dotnetperls.com/string-format

bye,

 Jean