3
Answers

Left Function in C#

richard smith

richard smith

11y
1.5k
1
I have several prefixes that I need to append to workbook names.  They range from: CR12, LT23, EF232, RF232..

I need a way to take the left 2 characters of the string, and say if
(left(prefix, 2) == "LT")
{
formatAdditions();
}

How can I do this in C#?

Answers (3)