Hi,
I need to extract the number portion from a text string where the numbers always start from character 31 in the string. This is an example of the string I am manipulating:-
"Special Damages Calculation - 2461.84 - J O Bloggs"
However, there are also characters after the numbers that I don't need but because the number could be any length I can't guarantee where they might start so this is the formula I am using at the moment ...
Val (mid ({diary.dy_action},31))
This works and extracts the figure but it displays the - that appears after the number before it when it prints out so this makes the report think that it's a negative number....
Has anyone got any suggestions please ..
I need to extract the number portion from a text string where the numbers always start from character 31 in the string. This is an example of the string I am manipulating:-
"Special Damages Calculation - 2461.84 - J O Bloggs"
However, there are also characters after the numbers that I don't need but because the number could be any length I can't guarantee where they might start so this is the formula I am using at the moment ...
Val (mid ({diary.dy_action},31))
This works and extracts the figure but it displays the - that appears after the number before it when it prints out so this makes the report think that it's a negative number....
Has anyone got any suggestions please ..