mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-14 04:03:36 -06:00
43 lines
1.2 KiB
Markdown
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>
|