Is there an inverse function of *SysUtils.Format* in Delphi

后端 未结 3 1573
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 20:01

Has anyone written an \'UnFormat\' routine for Delphi?

What I\'m imagining is the inverse of SysUtils.Format and looks something like this

<
3条回答
  •  悲哀的现实
    2020-12-09 20:49

    I know it tends to scare people, but you could write a simple function to do this using regular expressions

    'a number (.*?) and another (.*?)
    

    If you are worried about reg expressions take a look at www.regexbuddy.com and you'll never look back.

提交回复
热议问题