Sergio Trejo
2007-06-20 15:49:02 UTC
I'm seeing a problem in VB 6.0 when concatenating strings that have Hebrew
characters and parenthesis.
Based on a login and user name we generate an output like "login (user
name)". For example: "strejo (Sergio Trejo)". We use a statement:
output = login & " (" & username & ")"
When the login and the user name are in Hebrew. The output parenthesis look
dissarranged. If I characterized the example above in Hebrew I would get the
following output: "ojerT oigreS) ojerts)".
It seems like the & operator recognizes the Hebrew strings and positions
first the user name and then the login. However, the parenthesis are not
positioned correctly in the output string.
characters and parenthesis.
Based on a login and user name we generate an output like "login (user
name)". For example: "strejo (Sergio Trejo)". We use a statement:
output = login & " (" & username & ")"
When the login and the user name are in Hebrew. The output parenthesis look
dissarranged. If I characterized the example above in Hebrew I would get the
following output: "ojerT oigreS) ojerts)".
It seems like the & operator recognizes the Hebrew strings and positions
first the user name and then the login. However, the parenthesis are not
positioned correctly in the output string.