Jump to content

Calling Coreleon And All Peoplesoft Guys


mothi

Recommended Posts

I need help mama....... SQR use lo lite modification cheyaali.... enti antey I need to extract the last 3 characters of a string.... ipudu ela cheyaali annadhi question substr use cheysaanu raavadam ledhu more over subtr lo starting position ivaali..... last character nunchi star avaali kabatti ey value starting position lo ivaalo ardham kaavadam ledhu..... Please thammi's... help needed.......

Link to comment
Share on other sites

[quote name='CORLEONE' timestamp='1327495544' post='1301346724']
[size=3][size=4]idi try cheye : substr(string, length(string)-3, 3)[/size][/size]
[/quote]


nenu idhi use cheysaanu substr(string, length(string)-3, 3)........ kaaaledhu mama....... adhi thokka first 3 characters ni extract cheysthundhi......... emanna idea gaani undhaaney....

Link to comment
Share on other sites

[quote name='mothi' timestamp='1327497056' post='1301346869']
nenu idhi use cheysaanu substr(string, length(string)-3, 3)........ kaaaledhu mama....... adhi thokka first 3 characters ni extract cheysthundhi......... emanna idea gaani undhaaney....
[/quote]
ledu mama inthakumunde sample ga try chesaa,,,,,,,,,,,,, correct gane last 3 chars teeskostundi !

Link to comment
Share on other sites

[quote name='CORLEONE' timestamp='1327497216' post='1301346886']
ledu mama inthakumunde sample ga try chesaa,,,,,,,,,,,,, correct gane last 3 chars teeskostundi !
[/quote]

substr(string, length(string)-3, 3)...... nenu use cheysanu and string = $string variable name petta..... naaku enti mari raavadam ledhu......

Link to comment
Share on other sites

[quote name='mothi' timestamp='1327497448' post='1301346922']
substr(string, length(string)-3, 3)...... nenu use cheysanu and string = $string variable name petta..... naaku enti mari raavadam ledhu......
[/quote]
hmm try cheye, length(string)-3 or -2 vaadi chudu !

Link to comment
Share on other sites

×
×
  • Create New...