I have a guest list that has a last name in one column and then in another column I have the first names or the full names (first space last) of each person in the family. I am wanting to get the other column to just have the first names.
gsub(guest.w$Last.Name,"",guest.w$Party.Name.s.)
That would work perfectly if I just had one row...
I need a regex that checks if a string only contain letters(a-z) and that the first letter is uppercase, you cant have 2 letters in a word uppercase Like: THomas or THomAS but Thomas Anderson (Thomas anderson too) would be valid
look:
The Magician Of The Elfs would be valid but not ThE MaGiCiAN oF ThE ELFS
if (!preg_match("??", $name)...
Is there a function that can return the name of the current function a program is executing?
...
Hello,
My problem originates from me trying to create names for all my crazy (brilliant?) ideas for business and products, which then need to have their purchasing availability checked for .com domain names.
So I have a pen and paper system where I create two lists of words... List A and List B for example.
I want to find or create a ...
In Forms, I can simple use ActiveControl.name to get the name of the active control. However in WPF this doesn't work. What is the WPF command equivalent to Activecontrol.name? I'll take C# or VB, either way. Thank you!
...
Hi,
How is it possible to learn the name of function I am in?
The below code alerts 'Object'. But I need to know how to alert "Outer."
function Outer(){
alert(typeof this);
}
...
i have a href like this:
<a href="images/prevFeb-1.jpg" name="day-1" onclick="swap(this); return false;">
<img src="images/thumbFeb-1.jpg" width="50" height="50" alt="" title="thumbFeb-1.jpg" />
</a>
when the user clicks on a thumbnail, the images get swap.
i will like to get the href name upon on click.
and i will explode("-",$href...
Hi There
The question I have is a quick one to do with the VBA object model. I have created a defined name/range on a worksheet called "bob", pointing to a single cell. I have a bunch of other name/ranges set up on this worksheet, which I didn't create. All the other ones work perfectly. The new one created by me does not work perfectly...
Hi there, i have the following link
<a href="example.com" id="example1"> Go to example....</a>
Is it possible that when a body moves the cursor over "Go to example..." it changes to "Go to example One" , i am using php and jquery. Any help will be appreciated.
...
Suggestions other that dumping IE6 that is... I can't control that :)
Quick synopsis of what I am trying to do: I have a form with select elements. When the user selects a specific option in the select (id type2 in the code below), I display a div structure that contains a new select. I want the new div structure and its children to be ...
I'm reading OpenGL document from Apple.
What's the OES means in name of their GL names like "GL_RENDERBUFFER_OES"?
...
Hi there,
I'm having a bit of trouble understanding what's going wrong with the following function:
def ness():
pie='yum'
vars()[pie]=4
print vars()[pie]
print yum
So When I run that I get this result:
>>> ness()
4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 5, in ness
NameErro...
Is it possible to set a variable, if i want to have it flexible? I think an exmaple makes it easier to understand.
String hallo1;
String hallo2;
for(int i = 0; i < 2; i++) {
hallo & i = Integer.toString(i);
}
...
hello,
I'm writing a client application to connect a bluetooth device.
I only only know the name of the service of the bluetooth device. How ccan I connect with the service name and not with an uuid ? Or How could I find the server UUID ?
Thank a lot,
Cédric
...
I am trying to link some text with the href tag to a specific section in my website.
On the homepage I have a quote and then the person's name of who said it. I want to link his name to the "Upcoming Events" tab on my "About" section.
The website is http://www.verticalministries.net. The name "Aaron Ivey" needs to be linked to the "Up...
I never quite understood this, since the name attribute appears to support spaces, but every example uses the harder to read period to name targets.
Why do this:
<target name="some.target.name">
<!-- target child nodes -->
</target>
When you can do this:
<target name="Some Target Name">
<!-- target child nodes -->
</target>
Was th...
What's the difference between
SELECT * FROM `this`
and
SELECT * FROM this
?
...
Hey all,
My manager has pointed out to me a few nifty things that one of our accounting applications can do because it can load different settings based on the machine name of the host and the machine name of the client when the package is opened in an RDP session.
We want to provide similar functionality in one of my company's applica...
I have a class to store unix-like permissions for user, group and other. In principle it is a limited access control list but I don't want to name it ACL, because usually an ACL is something different.
The class looks basically like this:
class X {
boolean userRead, userWrite, userExecute;
boolean groupRead, groupWrite, groupExecut...
Let's say I have created the following matrix:
> x <- matrix(1:20000,nrow=100)
> x[1:10,1:10]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,] 1 101 201 301 401 501 601 701 801 901
[2,] 2 102 202 302 402 502 602 702 802 902
[3,] 3 103 203 303 403 503 603 703 803 903
[4,] 4 104 ...