CHR() or CHAR() function in configurator code?

Trying to dynamically build the PartDescription in a configurator. In V8 I’d use the string “~n”, but that’s obvious Progress code.

Is there a CHR() or CHAR() like function? Such that CHR(9) = TAB, CHR(10) = LF, etc …

Did you google it?

Joshua Giese
Technology Solutions : CTO
Direct Phone: 920.593.8299
Office Phone: 920.437.6400 x342
[http://wcibags.com/email/emailFooter4.jpg]http://www.wcibags.com/
[http://68c6d48672d1935cd6dd-141aaade86a30aeaf83cb6aee3728aaa.r82.cf1.rackcdn.com/images/global/Holiday-Schedule-2016.jpg]http://www.wcibags.com/

I don’t even know what language the configurator code is in. C Sharp?

There probably is but I use: System.Environment.NewLine
Because it’s long, I would assign it to a variable.
String nl = System.Environment.NewLine;

JOE ROJAS
Epicor Applications Manager
VENTION MEDICAL + DESIGN & DEVELOPMENT
DIRECT: 508.597.1392 x1625 | MOBILE: 774.826.9245

I was going to mention looking at the System.Environment namespace as well:

1 Like

I’ve used “\n” for newline type of results…
i.e.
partDESC = partDESC + “\n” + Inputs.cmbXXX.Value;