Is there a RhinoScript text FORMAT function like in VBA, as in the following Microsoft page:
https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/format-function-visual-basic-for-applications
I tried the MS syntax but rhinoscript did not like it.