---
title: TitleCaseExtensions
summary: API reference for TitleCaseExtensions.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.Utilities
reference_type: package
---

# TitleCaseExtensions

`TitleCaseExtensions` is a public module (defined in the `Extensions` region of `TitleCase.vb`) providing extension methods on `String` for title-casing, proper-casing, capital-letter padding, array-level case conversion, and numeric-only checks.

## Purpose
- Provide convenient extension-method syntax over `String` and `String()` for the casing utilities in this library.

## Context
- Namespace: `SAIF.Business.Utilities`
- Assembly/package: `SAIF.Business.Utilities` (NuGet package `SAIF.BOF.Business.Utilities`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| ToTitleCase | `<Extension()> Public Function ToTitleCase(Target As String) As String` | Delegates to `TitleCase.ToTitleCase(Target)`. |
| ToProperCase | `<Extension()> Public Function ToProperCase(Target As String) As String` | Wraps `VB.StrConv(Target, VbStrConv.ProperCase)`. |
| ToPadCapitalLetters | `<Extension()> Public Function ToPadCapitalLetters(Target As String) As String` | Inserts spaces before capital letters; delegates to a `PadCapitalLettersFormat` type not defined in this library — likely from a referenced framework assembly.* |
| ToLower | `<Extension()> Public Function ToLower(Target() As String) As String()` | Converts every element of a string array to lower case. |
| ToUpper | `<Extension()> Public Function ToUpper(Target() As String) As String()` | Converts every element of a string array to upper case. |
| ContainsOnlyNumericCharacters | `<Extension()> Public Function ContainsOnlyNumericCharacters(Target As String) As Boolean` | Returns whether a string contains only numeric characters, via regex. |

## Behavioral notes
- `ToTitleCase` and `ToProperCase` are thin forwarding wrappers with no additional logic of their own.
- `ToPadCapitalLetters`'s dependency on the external `PadCapitalLettersFormat` type means its exact behavior cannot be fully verified from this library's source alone.**
- `ToLower`/`ToUpper` operate element-wise on an array and return a new array; the source array is not documented as being mutated in place.*

## Constraints and usage notes
- All members are extension methods; consumers invoke them as instance-style calls on `String`/`String()` values (e.g., `myString.ToTitleCase()`).
- `ContainsOnlyNumericCharacters` uses a regular expression internally; behavior on empty strings could not be confirmed from the scanned source.**

> **Note:** Statements marked with `*` are inferred from code behavior rather than explicit documentation or comments; statements marked with `**` could not be confirmed and should be treated as unknown until verified.

## Sources
- `Business\SAIF.Business.Utilities\TitleCase.vb`
