Split camal case function

This function came in handy while I was automating some of my documentation, so I thought I would post it. It adds a space before any capital letters, so an input of "wildBill" would become "wild Bill".

Private Function splitCamalCase(ByVal input As String) As String
Return System.Text.RegularExpressions.Regex.Replace(input, "(?<cap>[A-Z])", " ${cap}").Trim
End Function
[412 byte] By [wild_bill] at [2007-12-5 11:56:41]