*** aa wrote/escribió (Fri, 19 Nov 2004 15:40:20 -0000):
How do I read a value written in the first tab of the last line of a text file where values are separated by "\t"?
You'll find this function useful:
Usage: array explode ( string separator, string string [, int limit] )
Purpose: Split a string by string
Availability: PHP 3, PHP 4
--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--
Thanks.
So it id not possible to read it directly and I have to read the whole line
and then parse it
Then how shall I read a necessary line? I can't find a function accepting
the line No as a parameter
So it id not possible to read it directly and I have to read the whole line and then parse it Then how shall I read a necessary line? I can't find a function accepting the line No as a parameter
You could use file() (returns array of lines). Then just use the last item in
the array.
I'm using "ID" and "Value" in the generic sense here...
Let's say one page I had a <html:select> with a collection like this:
<html:options collection="items" property="key"...
Hi,
I use "defined $r_libs->{$name}" to check first if a key exists in a hash
table. But Perl gives a warning WHENEVER the key exists: "Use of
uninitialized value".
Would u please help to...
Hi
What's wrong with this line:
document.write('<input style="width: 260px;" type="button"
id="button2" onmouseover="mover(\'button2\',\'green\');"
onmouseout="mover(\'button2\',color2);" ...
Hello.
Using A2K SP3, I am having the following problem with a report using
"Sorting and Grouping".
I have recently added a grouping in the reports for
"Category2<>'CONTRACTS'".
I have...
I'd like to make the following proposal for a new feature for the C#
language. I have no connection with the C# team at Microsoft. I'm posting
it here to gather input to refine it, in an "open...
Hello,
I used Visual C# Standard Edition.
I want to comment my program using xml commentary method,
I don't know why if I use value and example tag, it is not working / showed in the html...
Hello,
I am uploading a file using this form in ASP.NET. I have also added a
simpel textfield:
<form runat="server" enctype="multipart/form-data">
<input type="file" id="oFile" Name="oFile"...
Quick question about pointers.
Wrote this "trying to understand this better" code:
int *ptr, x = 565;
ptr= &x;
printf("\n\n\nThe value of x is %d\n", x);
I'm trying to improve my formal understanding of C++. One significant part
of that effort involves clarifying my understanding of the vocabulary used
to describe the language.
This is from the...
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...