Click or drag to resize

FigureRenumeratorExtractCategoryAndNumber Method

Extracts the category and number from a figure caption.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static ((string , int , int ) Category, (int , int ) Digits) ExtractCategoryAndNumber(
	FigureCaption caption
)

Parameters

caption  FigureCaption
The figure caption.

Return Value

ValueTupleValueTupleString, Int32, Int32, ValueTupleInt32, Int32
A tuple, consisting of two tuples: Category and Digits. The Category tuple contains the category name, as well as the postion and count of the category name in the source text. the tuple Digits contains the position and count of the digits that are considered as the figure number.
See Also