Convert comma separated string to a list Convert a List to a comma separated string
Category: Strings
Using Strings-Searching Strings
Does string start with? Does string contain?
Using Strings-Replace and Insert
Replace
Using Strings-Parsing
Does string start with? Does string contain?
Using Strings-Extracting
Convert comma seperated string to a list Get string from character position # (Remove text from beginning or end of string) Getting beginning of a string Getting end of string
Using Strings-Characters
Is String Value Numeric
For larger values
Verify Numeric Value
Convert string to value without erroring on fail For larger values: Verifying a form TextBox value example
Using Strings-Values
Verifying numeric values See here. ToString() https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings Display Values With Decimal Places Fixed number of decimal places Optional number of decimal places When formatting numbers you can use “0” as mandatory place and “#” as optional place. Display Decimal Value Insert leading zero’s if necessary Display Decimal Places Display Hex Value Display Binary Value Display […]
Encode/Decode Strings
HtmlEncode Enabling HttpUtility for projects By default your app probably can't see "System.Web.HttpUtility". You need to include a reference to System.Web. Right-click your project in the Solution Explorer > Add Reference > Assemblies > Framework > Scroll to System.Web and enable it