Table of Contents

Class StringHelper

Namespace
CADability
Assembly
CADability.dll

String utilities: RemoveExtraStrings(string, string) removes repeated occurrences of a substring, used when a typed number contains the decimal separator more than once. Internal helper, not an entry point of the API.

public class StringHelper
Inheritance
StringHelper
Inherited Members

Constructors

StringHelper()

public StringHelper()

Methods

RemoveExtraStrings(string, string)

Remove duplicate strings from end to start and leave only one occurence.

public static string RemoveExtraStrings(string input, string stringToRemove)

Parameters

input string

string to manipulate

stringToRemove string

string that will be removed

Returns

string