Message 1 of 8
TextString Conversion Method?
Not applicable
10-05-2004
09:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I wanted to ask what methods are better to use to carryout this function:
I want to convert a textstrings in the following.
EXAMPLES:
----------------------
FROM: AB1204
TO: 12'-4"
FROM: AB0909
TO: 9'-9"
Basically, I have a 4 digit number representing feet and inches. I think I
have figured a method out by "bullying" the textstring using IF, THEN, LEFT.
RIGHT, and MID functions. IF/THEN for feet less than 10 feet, etc..
I was thinking there must be a better way to do this.
Any suggestions, code, example, etc. is grreatly appreciated. Throught this
NewsGroup, I have learned much.
Thank you,
Dan