string.stripCr()

Deletes return characters from a string.

string.stripCr( )

Returns: String

This function does not take any arguments.

Examples

str = "I love lucee"&chr(13);
	res = str.stripcr();
	writeDump(res);
	writeDump(len(str));
	writeDump(len(res));

See also