Home
Newline and control characters should not be used in string literals
Rule description
- Newline and control characters should not be used in string literals
Non-compliant Code Example
function string TestFunctionTest(int cnt)
string @count = "Hello //Non compliant code
world!";
return ""
end function
Compliant Code Example
function string TestFunctionTest(int cnt)
string @count = "Hello world!"; //Compliant code
return ""
end function