~kb/ncl

2ee78dae97e95278920e68699e53124692c436a0 — THLabs 9 years ago 37c5390
fixed substring end index
1 files changed, 1 insertions(+), 1 deletions(-)

M string.axi
M string.axi => string.axi +1 -1
@@ 749,7 749,7 @@ define_function char[STRING_RETURN_SIZE_LIMIT] substr(char a[], integer start,
define_function char[STRING_RETURN_SIZE_LIMIT] substring(char a[], 
		integer start, integer end)
{
	return substr(a, start, end-start);
	return substr(a, start, end-start+1);
}

define_function CHAR[STRING_RETURN_SIZE_LIMIT] pad_leading_chars(char a[], char pad,