Property TrimStartValues
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
TrimStartValues
Gets or sets a list of string prefixes to remove from the start of extracted text. Prefixes are sorted by descending length so the longest match is trimmed first.
public List<string> TrimStartValues { get; set; }Property Value
Examples
var phone = new TextExtractionElement("Phone", ElementType.String);
phone.Format.TrimStartValues = new List<string> { "Tel:", "Phone:" };Remarks
Only applicable when ElementType is String or StringArray.
In JSON: use the "trimStart" property with a string or array of strings.