FUNCTIONS

Dear all,

This is the work assigned to me by senior consultant .

’ XY2345’

I have to create a function that reurns only numeric value for this above example.

i.e should return only 2345 not XY.How to create function and please tell me the piece of code in which part to be written.

Thanks in advance!

R.Ramanathan

If you need the exact answer to your question, then following is the link , otherwise below are the pointers to look at to solve the assignment :

  1. String functions

  2. ASCII values of numeric characters…

I suggest to try first, before looking at the answer at following link.

http://dynamicsuser.net/forums/p/26694/143854.aspx#143854

I thought this was your assignment, but it turned up as DUG user’s assignment? :slight_smile:

Dear Bhansal,

I couldn’t find the link.Please explain me the code for this scenario.i.e function should call this value and return only integer.

i.e ‘asdr@4567*’

The function should return only 4567.

Please help me .

Ramanathan,

Please do not post the same question repeatedly - it’s against netiquette.(instead of waiting for answer HERE, you opened a new thread with the same question http://dynamicsuser.net/forums/t/29456.aspx) just several hours later…

If you are in a such hurry, call MS paid Support - forum is operated by volunteers, we are NOT obliged to give an answer for everything immediately.

PS but in case with this exact question - you could ask any programming student, who has attended his first couple of lectures. [:@]

PPS question solved in the other thread.