2024-04-19 23:12:24 -05:00
|
|
|
# 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
|
2024-04-21 03:30:36 -05:00
|
|
|
**Namespace:** <a href="N_CapyKit_Extensions.md">CapyKit.Extensions</a>
|
2024-09-04 19:31:43 -05:00
|
|
|
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
|
2024-04-19 23:12:24 -05:00
|
|
|
|
|
|
|
**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>
|
2024-04-21 03:30:36 -05:00
|
|
|
<td><a href="M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md">IfNullOrEmpty</a></td>
|
2024-04-19 23:12:24 -05:00
|
|
|
<td>Replaces a null or empty string with a specified replacement string.</td></tr>
|
|
|
|
<tr>
|
2024-04-21 03:30:36 -05:00
|
|
|
<td><a href="M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md">IfNullOrWhiteSpace</a></td>
|
2024-04-19 23:12:24 -05:00
|
|
|
<td>Replaces a null or whitespace string with a specified replacement string.</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
|
|
|
|
#### Reference
|
2024-04-21 03:30:36 -05:00
|
|
|
<a href="N_CapyKit_Extensions.md">CapyKit.Extensions Namespace</a>
|