Click or drag to resize

JcampReaderSplitLineByPlusOrMinus Method

Splits a line that contains numbers separated only by '+' or '-' signs into separate tokens. For example, the string "1.0-2.0+3.0" will be split into ["1.0", "-2.0", "+3.0"].

Namespace: Altaxo.Serialization.Jcamp
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static string[] SplitLineByPlusOrMinus(
	string s
)

Parameters

s  String
The input line to split.

Return Value

String
An array of string tokens representing each numeric value in the line.
See Also