- LTRIM(@mystring) will remove the space off the front of @mystring
- RTRIM(@mystring) will remove the space off the end of @mystring
- RIGHT(@mystring,5) will give the last five characters in @mystring or all of the characters in @mystring if @mystring is less than six characters in length
- LEFT(@mystring,5) will give the first five characters in @mystring or all of the characters in @mystring if @mystring is less than six characters in length
No comments:
Post a Comment