How to read ^L from a text file   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkCine Talk - Reviews, Gossips, Insider Info etc. How to read ^L from a text file Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Tingari_xx
Celebrity Bewarse
Username: Tingari_xx

Post Number: 10654
Registered: 08-2006
Posted From: 205.157.110.11

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 4:04 pm:Insert Quote Edit PostDelete PostView Post/Check IP

//bemmam ki DB oka google ayipoyindi //

the converse is true, bemmam gurinchi google seste ee db lo anni dorukutayi :P
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8754
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 4:02 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Musicfan
Celebrity Bewarse
Username: Musicfan

Post Number: 11497
Registered: 05-2004
Posted From: 136.2.1.101

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 3:14 pm:Insert Quote Edit PostDelete PostView Post/Check IP

//bemmam mayya
db ni max utilize sesukutunnav ga

bemmam ki DB oka google ayipoyindi
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8753
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:59 pm:Insert Quote Edit PostDelete PostView Post/Check IP


Tingari_xx :

bemmam mayya
db ni max utilize sesukutunnav ga




Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8752
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:59 pm:Insert Quote Edit PostDelete PostView Post/Check IP


420 :

Bemmi bedar .. chr(12) is a break char ,

for example ,

select Instr('a'|| chr(12),chr(12)) from dual would give you 2 ..

I meant , when you load the content into a buffer using UTL_FILE.getline
on the bufferVariable i asked if u could use instr(urBufferVar,chr(12)) .

if it returns greater than Zero , u could then increment ur counter ..




penkulu annay...direct ga l_data = CHR(12) ani if condition lo petta... anthe...kummesindi....
Top of pagePrevious messageNext messageBottom of pageLink to this message

420
Mudiripoyina Bewarse
Username: 420

Post Number: 5726
Registered: 12-2006
Posted From: 80.101.229.155

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:51 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Tinguu

Just thanks to guys like bemmi .. I get to look back and dig into my long lost Technical skills .

THose were the golden days (5 years ago ) .. when i used to be a Developer ...
Namaste fellow brothers !
Top of pagePrevious messageNext messageBottom of pageLink to this message

Tingari_xx
Celebrity Bewarse
Username: Tingari_xx

Post Number: 10638
Registered: 08-2006
Posted From: 205.157.110.11

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:43 pm:Insert Quote Edit PostDelete PostView Post/Check IP

bemmam mayya
db ni max utilize sesukutunnav ga
Top of pagePrevious messageNext messageBottom of pageLink to this message

420
Mudiripoyina Bewarse
Username: 420

Post Number: 5725
Registered: 12-2006
Posted From: 80.101.229.155

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:33 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Bemmi bedar .. chr(12) is a break char ,

for example ,

select Instr('a'|| chr(12),chr(12)) from dual would give you 2 ..

I meant , when you load the content into a buffer using UTL_FILE.getline
on the bufferVariable i asked if u could use instr(urBufferVar,chr(12)) .

if it returns greater than Zero , u could then increment ur counter ..



Namaste fellow brothers !
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8751
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:16 pm:Insert Quote Edit PostDelete PostView Post/Check IP

excuseme mama..kummesindi...CHR(12) worked...thanks a lot mama :-)
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8750
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 1:10 pm:Insert Quote Edit PostDelete PostView Post/Check IP

penkul..page break 55, 109, 163, 217 ala vasthundi ani ala logic raasam program ki..kaani madhyalo ekkado change ayyindi aa sequence..so data sarigga load avvaledu..so instead of going withe line count, we thought of finding ^L the line and then reset the count...
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8749
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 12:33 pm:Insert Quote Edit PostDelete PostView Post/Check IP


420 :

waake .. back .. sorry was on a call

^L = ctrl L = page break

While generating the text file .. page size was/ is set to some number say x lines and then page break.

Well use a regular expression and get all the count pageBreaks in ur txt file or , every new line use INSTR function check is ^L exists in the new line buffer ..




ade ela check chestham ^L undo ledo ani?

excussme mama, let me test with CHR(12)
Top of pagePrevious messageNext messageBottom of pageLink to this message

Esscuseme
Kurra Bewarse
Username: Esscuseme

Post Number: 1133
Registered: 03-2005
Posted From: 216.113.168.128

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 11:46 am:Insert Quote Edit PostDelete PostView Post/Check IP

CHR(12) is for ^l. should work
Top of pagePrevious messageNext messageBottom of pageLink to this message

420
Mudiripoyina Bewarse
Username: 420

Post Number: 5724
Registered: 12-2006
Posted From: 62.177.160.141

Rating:
Votes: 1(Vote!)

Posted on Monday, February 23, 2009 - 11:12 am:Insert Quote Edit PostDelete PostView Post/Check IP

waake .. back .. sorry was on a call

^L = ctrl L = page break

While generating the text file .. page size was/ is set to some number say x lines and then page break.

Well use a regular expression and get all the count pageBreaks in ur txt file or , every new line use INSTR function check is ^L exists in the new line buffer ..



Namaste fellow brothers !
Top of pagePrevious messageNext messageBottom of pageLink to this message

Tingari_xx
Celebrity Bewarse
Username: Tingari_xx

Post Number: 10631
Registered: 08-2006
Posted From: 205.157.110.11

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 11:03 am:Insert Quote Edit PostDelete PostView Post/Check IP

rangu ba
neeku enthaina noti doola ekkuve
Top of pagePrevious messageNext messageBottom of pageLink to this message

Rangupadudhi
Mudiripoyina Bewarse
Username: Rangupadudhi

Post Number: 5891
Registered: 03-2008
Posted From: 129.22.149.97

Rating:
Votes: 2(Vote!)

Posted on Monday, February 23, 2009 - 10:54 am:Insert Quote Edit PostDelete PostView Post/Check IP

penkulu meeru kanapadinanthaa ignorant eemi kaadhu
Best Upcoming Bewarse Award Winner for 2008
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8748
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 10:51 am:Insert Quote Edit PostDelete PostView Post/Check IP


420 :

what are you using UTL_FILE.getline ?




avunu penkulu
Top of pagePrevious messageNext messageBottom of pageLink to this message

420
Mudiripoyina Bewarse
Username: 420

Post Number: 5723
Registered: 12-2006
Posted From: 62.177.160.141

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 10:49 am:Insert Quote Edit PostDelete PostView Post/Check IP

what are you using UTL_FILE.getline ?
Namaste fellow brothers !
Top of pagePrevious messageNext messageBottom of pageLink to this message

Aggi_pidugu
Celebrity Bewarse
Username: Aggi_pidugu

Post Number: 24978
Registered: 05-2006
Posted From: 12.168.68.11

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:59 am:Insert Quote Edit PostDelete PostView Post/Check IP

kikiki
HERE COMES THE LEGEND
Top of pagePrevious messageNext messageBottom of pageLink to this message

Shadow
Mudiripoyina Bewarse
Username: Shadow

Post Number: 5865
Registered: 05-2008
Posted From: 68.198.151.34

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:49 am:Insert Quote Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Romanas
Pilla Bewarse
Username: Romanas

Post Number: 600
Registered: 01-2009
Posted From: 81.208.6.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:42 am:Insert Quote Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8747
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:40 am:Insert Quote Edit PostDelete PostView Post/Check IP

answer chesavemo ani aathram ga thread open chesa
Top of pagePrevious messageNext messageBottom of pageLink to this message

Romanas
Pilla Bewarse
Username: Romanas

Post Number: 599
Registered: 01-2009
Posted From: 81.208.6.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:33 am:Insert Quote Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Ravanabrahma
Mudiripoyina Bewarse
Username: Ravanabrahma

Post Number: 8746
Registered: 06-2004
Posted From: 65.196.167.82

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, February 23, 2009 - 9:28 am:Insert Quote Edit PostDelete PostView Post/Check IP

I am reading a txt file and loading that into a table using a pl/sql program. ayithe ^L anedi new line feed or something anukunta. aa character ragane nenu count ane varible ni 0 ki set chesukovali..kaani how to recognize that character?

I tried to match that with CHR(10), but its not working..also I tried CHR(13) || CHR(10). still didn't work??

evarikanna thelsa ela recognize cheyyalo..