Kanzi 4.1.0
StringExtensions Class Reference

Static Public Member Functions

static bool AsBool (this string value)
 
static T ContinueWith< T > (this string target, [NotNull] Func< string, T > func)
 
static bool EndsWithAny (this string target, [NotNull] params string[] values)
 
static bool EndsWithOrdinal (this string target, string value)
 
static string RemoveFromTheEnd (this string target, int count)
 
static string RemoveWhitespace (this string target)
 
static bool StartsWithOrdinal (this string target, string value)
 
static string ValueAfter ([NotNull] this string target, [NotNull] string value)
 
static string ValueAfterLast ([NotNull] this string target, [NotNull] string value)
 
static string ValueAfterLastOrFull ([NotNull] this string target, [NotNull] string value)
 

Member Function Documentation

◆ AsBool()

static bool AsBool ( this string value)
static

◆ ContinueWith< T >()

static T ContinueWith< T > ( this string target,
[NotNull] Func< string, T > func )
static

◆ EndsWithAny()

static bool EndsWithAny ( this string target,
[NotNull] params string[] values )
static

◆ EndsWithOrdinal()

static bool EndsWithOrdinal ( this string target,
string value )
static

◆ RemoveFromTheEnd()

static string RemoveFromTheEnd ( this string target,
int count )
static

◆ RemoveWhitespace()

static string RemoveWhitespace ( this string target)
static

◆ StartsWithOrdinal()

static bool StartsWithOrdinal ( this string target,
string value )
static

◆ ValueAfter()

static string ValueAfter ( [NotNull] this string target,
[NotNull] string value )
static

◆ ValueAfterLast()

static string ValueAfterLast ( [NotNull] this string target,
[NotNull] string value )
static

◆ ValueAfterLastOrFull()

static string ValueAfterLastOrFull ( [NotNull] this string target,
[NotNull] string value )
inlinestatic