I am attempting to modify existing client side code to use server side functions and procedures. I am wondering if it is possible to use a variable length input parameter in a function. The incoming value can be from 1 to 4 characters in length. The function will evaluate the length of the parameter and the last character of the parameter and modify it based on what it finds. The resulting value may increase in size based on what is found. The result will either stay the same size or increase in size by 1 character and will never be bigger than 4 characters. One the client side this value is treated as a string and I use Len() and Right() to preform processing. Since there are no strings in Server per say (Forgive what may be a poor choice of words) I am wondering if this type of processing can be done as a server side function. Any help you can provide is appreciated.