The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Your formula that you posted would look like this:
local numbervar i;
local stringvar char;
local stringvar str;
stringvar string := {Orders.Ship Via};
for i := 1 to length(string)
do
if string[i] = " "
then str := str + "a"
else if string[i] = "s"
then str := str + "B"
else str := str + string[i];
str
You can now check for a ' like this
if string[i] = "'"
This has a set of double quotes surrounding a single quote.
Can you explain exactly why you are doing this? I think that it could be streamlined especially if you are replacing alot of characters. You could even post the whole formula as well.