I’ve looked everywhere and I can’t seem to find an answer, maybe because I don’t know enough to know what to search for.
I’ve used the Get-PluralizedWord function.
Is there a similar way to convert a given word like MyClass, to myClass in powershell/T4Templates ?
Cheers,
James
To convert a given word like MyClass to myClass,
you can use a .net regex replace:
or substring manipulation: