Free for PREMIUM members
Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium
An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Dim Fields as String() = FieldData.Split(vbcrlf)
Open in new window
Dim data As String = "firstName"
data = FormatValue(data)
Private Function FormatValue(ByVal str As String) As String
Dim SB As New System.Text.StringBuilder(str)
If SB.Length > 0 Then
' make sure the first letter is capitalized
SB(0) = Char.ToUpper(SB.Chars(0))
' Working backwards, add a space before each capital letter found:
For i As Integer = SB.Length - 1 To 1 Step -1
If Char.IsUpper(SB.Chars(i)) Then
SB.Insert(i, " ")
Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.