This class contains the string utility functions.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public static class StringUtils
Public NotInheritable Class StringUtils
public ref class StringUtils abstract sealed
Members| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
![]() ![]() | AreCaseInsensitiveEquals(String, String) |
Compare two strings with invariant culture and not case sensitive
|
![]() ![]() | Concat(Array, String) |
Concat an array to a string with a space
|
![]() ![]() | FormatByteToString(Int64) |
Transform the size in byte to a string: bytes, kb, mb or gb
|
![]() ![]() | FormatTimeSpan(TimeSpan) |
Return a Time Span formated
|
![]() ![]() | IsGuid(String) |
Check if the string is a Guid. Null or empty string are not Guid.
|
![]() ![]() | IsInList(array<String>[]()[], String) |
Indicate if the value is in the list
|
![]() ![]() | QuoteDBString(String) |
Add a single quote to a string like it's needed for an SqlServer string.
|
![]() ![]() | QuoteString(String, String) |
Add a quote at the begining and the end of string.
|
![]() ![]() | QuoteString(String) |
Add a quote at the begining and the end of string.
|
![]() ![]() | ToGuid(String) |
Return a guid value from a string or Guid.Empty if the string is null or empty.
|
![]() ![]() | ToPascalCase(String) |
Convert a string in pascal case (also called title case)
Ex: hello world -> Hello World
|
![]() ![]() | ToSentenceCase(String) |
Convert a string in sentense case
Ex: hello world -> Hello world
|
![]() ![]() | ToString(array<String>[]()[], String) |
Create a string separated with suffix from a string array.
|
![]() ![]() | ToString(array<String>[]()[]) |
Create a string separated with CR LF from a string array.
|
Inheritance Hierarchy| Object | |
![]() | StringUtils |
Assembly: Devolutions.Utils (Module: Devolutions.Utils)


