Trying to solve an issue with trimming a string.
Are there any ascii chars that are not counted in either length() or substring(int, int)?
Ex. if the string is coming from a serialized object outside your program and contains characters such as "start of text" (ascii hx2) or "bell" (ascii hx7) will those characters be considered in either length() or substring(int, int)?