string fields

jerry28ph

jerry
Local time
Yesterday, 22:02
Joined
Nov 16, 2008
Messages
141
Hi all,

I'm having a problem on string field, the value is "7081 - Paul Rooney" how can I apply the str() or any alternative function just to get the 4 numbers on the string. Say I want to display the "7081" on a text field. I have an idea in my mind and when I applied it, it didn't work.

Please if you an idea i will really appreciate it.
Thanks in advance.

Regards,
Jerry
 
I think the left() function is what you need to use - :)
 
I think the left() function is what you need to use - :)

If the purpose is to get a Number as a result, you may need to use Cint() or a related function as well.:)
 

Users who are viewing this thread

Back
Top Bottom