/ Assembly List / LJCNetCommon / NetString

Namespace - LJCNetCommon


Syntax

C#
public class NetString

Contains common string related static functions.

Remarks

The NetCommon class contains string related static helper functions for all .NET program types.

Check Values
HasValue Checks if a text value exists.
IsDigits Checks a string value for digits.
IsEqual Do an Ignore Case string compare.

Formatting
ExceptionString Creates an exception string with outer and inner exception.
GetPropertyName Gets a column name with underscores converted to Pascal case.
InitString Initializes a string to the trimmed value or null.
RemoveSection Removes a section from a text value.
Truncate Truncates a text string to the specified length.
GetSearchName Gets the Search Property name.

Parsing
FindTag Finds a tag in a text value.
GetDelimitedAndIndexes Get the delimited string begin and end index.
GetDelimitedString Gets the string between the specified delimiters.
GetStringWithDelimiters Get the string including the specified delimiters.
RemoveTags Removes tags from a text value.

Soundex
CreateLSoundex Creates a letter based soundex value. (D)
CreatePSoundex Creates a Phonetic based soundex value. (D)
IsSoundexLetter Checks if the letter is a soundex skipped letter. (R)
Phonetic Creates a Phonetic character from the supplied text starting at the supplied index. (D)

Other Public Methods
AddMissingArgument Adds the missing argument name to the message.
FormatValue Formats the column value for the SQL string. (D)
ThrowInvalidArgument Throws the invalid argument exception if message has a value.
21 Methods

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.