[Gambas-user] How to generate a format string

BB adamnt42 at gmail.com
Thu Apr 6 06:09:25 CEST 2023


Hi folks,

I am looking for a good idea. How to assemble a formatting string from a 
reasonable sample of a string. For example, suppose I have a string 
"13-Jul-23", I want to build "dd-mm-yy" as the result. Not limited to 
dates though, if the string is "$123.45" then I need to recognise it as 
currency and generate that string accordingly. Has anyone done such a 
thing before?

tia

bruce



More information about the User mailing list