jainaditya6
Programmer
- Feb 26, 2008
- 2
Hello Everyone!
I am a "wet-behind-the-ears" newbie to the world of crystal reports (4th day using BO!
).
Here is my question: how do i extract (or mask) numbers from a alphanumeric string. E.g. I have a field in my report which is something like ABC123XYZ, how do i create a formula which would give me 123. In excel, I achieve this by using this formula:
where A1 contains the alphanumeric string (ABC123XYZ) and B1(123) the numeric data.
Sorry for the long winded post, but I am really looking towards your assistances.
I am a "wet-behind-the-ears" newbie to the world of crystal reports (4th day using BO!
Here is my question: how do i extract (or mask) numbers from a alphanumeric string. E.g. I have a field in my report which is something like ABC123XYZ, how do i create a formula which would give me 123. In excel, I achieve this by using this formula:
Code:
B1=LOOKUP(9^9,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0 123456789")),ROW($1:$100))))
Sorry for the long winded post, but I am really looking towards your assistances.