CapyKit/Documentation/Help/T_CapyKit_Extensions_StringExtensions.md
2024-09-04 19:31:43 -05:00

43 lines
1.2 KiB
Markdown

# StringExtensions Class
Provides static extentions methods for providing additional functionality for <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a> types.
## Definition
**Namespace:** <a href="N_CapyKit_Extensions.md">CapyKit.Extensions</a>
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public static class StringExtensions
```
**F#**
``` F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type StringExtensions = class end
```
<table><tr><td><strong>Inheritance</strong></td><td><a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a> → StringExtensions</td></tr>
</table>
## Methods
<table>
<tr>
<td><a href="M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md">IfNullOrEmpty</a></td>
<td>Replaces a null or empty string with a specified replacement string.</td></tr>
<tr>
<td><a href="M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md">IfNullOrWhiteSpace</a></td>
<td>Replaces a null or whitespace string with a specified replacement string.</td></tr>
</table>
## See Also
#### Reference
<a href="N_CapyKit_Extensions.md">CapyKit.Extensions Namespace</a>