Dear friends,
How can compare the whole string from .
User Profile
Collapse
-
How to compare whole string
-
????????/this is my some portion of code???????????
...Code:import java.io.*; import java.util.regex.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; class Copy1 { public static void main(String[] args) { try { String str; DataInputStream dis = null; String c = null; //int recCount = 0; File inputFile = new File("net.txt"); -
How to display original form of a verb using java
Dear Friends,
I have a doubt in how to dispaly the original form of a verb using java.ie if the word is arose then the output must be arise.but now in my program there is one text file 'verbs.txt' is caling in that i store 3 forms of words.now the problem is if my text file contains 'is' then it will check the 'verbs.txt' and gives the output as arise. but i want the output as is itself.Can anyone give the suggestion plssssssssss.... -
How to Display the content of a substring
Dear Friends,
I have two textfiles ,
Ex:first text is like this
AAA A B C D
............... ...
............... .....
ZZZ CC GG
Second text file is
A a
B b
C c
........
........
GG g
Like this
I have to print the content of AAA as A B C D and at the same time i have to ptint abcd in one line as the second... -
This is my code ........first this will print the location of the file into one text and then its content wll print on the another text.but here only one html file will b printed in one text file,i want to know how is possible to display many html file content into one text file.
#!usr/bin/perl
$var="D:/perl.com/";
opendir(str,$va r);
@file=readdir(s tr);
close(str);
while ($li=<@file>)...Leave a comment:
-
perl doubt
Hi friends
Iam new to perl Can anyone help me. How to print many html files into one text file using perl,now i can able to print one html file into one text file. -
Thank YOu So much Mr.Miller for giving that code ,but i printd that location as my way,but now i want to know my code only take the files in the main folder ,but i wat to take the location from the subfolders and its files also.cal u help me.
this is my code
#!usr/bin/perl
#use strict;
my $var="d:/www.indiantempl es.com/";
opendir(str,$va r);
@file=readdir(s tr);
close(str);...Leave a comment:
-
How to Display full path and line by line from array
hiiiiiiiii Can Any one Help me.....
I just printed the filename only by using this code .But i want to print the whole path of the file and which should be printed in line by line.Pls help me
#!usr/bin/perl
#use Cwd 'abs_path';
$var="d:/www.indiantempl es.com";
opendir(str,$va r);
@file=readdir(s tr);
#my $abs_p=abs_path ($var);
#print $abs_p,"\n";... -
In Perl how to retrieve the full path of a file
In Perl how to retrieve the full path of a file.If the file is in c:/s/fir.pl then i have to know the code for displaying this path in a text.Is anyone can help me. -
hi
How to take the html file in a directory and save as a text fileLeave a comment:
-
Perl Doubt-Take the html file and display it into text.
Hii,
I hav a doubt in perl,Assume there is many html files in a folder I have to Take all files and display it into text file without displaying the tags.Please reply atleast for displaying the html to text .
No activity results to display
Show More
Leave a comment: