Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Strings, Numbers, Dates

All methods are under the Perigee.Extensions namespace

Range Extraction

Range extraction allows you to split an input string into it's parts.

var rangeExtracted = "Section A, B and C";
Console.WriteLine(JsonConvert.SerializeObject(rangeExtracted.RangeExtract()));
// ["Section A","Section B","Section C"]

var rangeExtracted = "1-8";
Console.WriteLine(JsonConvert.SerializeObject(rangeExtracted.RangeExtract()));
//[" 1"," 2"," 3"," 4"," 5"," 6"," 7"," 8"]

Fast String

These methods use the fastest possible comparisons and Boolean checks available for the various tasks.

FastContains(); //contain
FastSuffix(); //suffix
FastPreFix(); //prefix
FastContainsAndPrefixOrSuffix(); //Must contain and (begin or end with)
FastContainsAndPrefix(); //contain and prefix
FastContainsAndSuffix(); //contain ans suffix
FastAndContains(); //Contain1 AND contain2, n
FastOrContains(); //Contain1 OR contain2, n

String manipulation

Data and object or partial detection

Last updated