Message 1 of 11
Problem with GetString
Not applicable
06-21-2007
05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I wanted to ask for some stings, in this case for a prefix and a suffix.
I do it with something like the following code
~~~~~~~~~~~~~~~
PromptStringOptions optString = new PromptStringOptions("\nPrefix");
optString.AllowSpaces = true;
PromptResult prString = ed.GetString(optString);
~~~~~~~~~~~~~~~~~~~~
If I write "km " or " km" for the string, it allways returns "km" without
the spaces.
Is it possible to get these spaces, too?
Roland
I do it with something like the following code
~~~~~~~~~~~~~~~
PromptStringOptions optString = new PromptStringOptions("\nPrefix");
optString.AllowSpaces = true;
PromptResult prString = ed.GetString(optString);
~~~~~~~~~~~~~~~~~~~~
If I write "km " or " km" for the string, it allways returns "km" without
the spaces.
Is it possible to get these spaces, too?
Roland