similar to: String Manipulation- Extract numerical and alphanumerical segment

Displaying 20 results from an estimated 1000 matches similar to: "String Manipulation- Extract numerical and alphanumerical segment"

2015 Jul 01
3
strange: 20 characters max in samAccountName
Hi all, Sernet Samba 4.2.2 as Active Directory on Debian 7.8. No other DC. I can't log in with on Windows systems (Windows 7) when samAccountName are longer than 20 characters. This seems to be a LAN MAN or NT4 limitation which should not happen on AD domain. Any idea what could leads my to that limitation? I can log in using administrator account or any other having a short (enough)
2007 Jan 26
3
Multiple Filesystems on one path stmt in smb.conf
Can the path statement in the smb.conf contain two entries as in the example below: path = /u04/abcdef /u03/xyz What I want to do is to essentially have 2 filesystems be part of one share so that the windows users would see all the sub-directories of filesystems /u04/abcdef and /u03/xyz
2009 Jan 18
8
regex -> negate a word
Dear all, let's assume I have a vector of character strings: x <- c("abcdef", "defabc", "qwerty") What I would like to find is the following: all elements where the word 'abc' does not appear (i.e. 3 in this case of 'x'). Since I am not really experienced with regular expressions, I started slowly and thought I find all word were
2001 Sep 07
2
Why does substr<- truncate and not replace...
... when the replacement string is shorter than the portion of the string to be replaced? The documentation to substr (in R 1.3.1) gives me: If the portion to be replaced is longer than the replacement string, then only the portion the length of the string is replaced. And so I try: R> x <- "abcdef" R> substr(x,2,3) <- "xy" #ok R> x [1]
2001 Sep 07
2
Why does substr<- truncate and not replace...
... when the replacement string is shorter than the portion of the string to be replaced? The documentation to substr (in R 1.3.1) gives me: If the portion to be replaced is longer than the replacement string, then only the portion the length of the string is replaced. And so I try: R> x <- "abcdef" R> substr(x,2,3) <- "xy" #ok R> x [1]
2010 Apr 30
2
drop last character in a names'vector
Hi, i have a vector filled with names: [1] Alvaro Adela ... [25] Beatriz Berta ... ... [100000] ... I would like to drop last character in every name. I use the next program: for (i in 1:100000) { ? ? ? ? ? ? ? ? ? ? ? ? ? largo <- nchar(names[i]-1) ? ? ? ? ? ? ? ? ? ? ? ? ? names[i] <- substring (names[i],1,largo] ? ? ? ? ? ? ? ? ? ? ? ? ?} Is another and faster way of do it? Thanks,
2011 Jul 22
2
averaging rows based on string¿?
Hi Folks, Ran into something I'd really like to do in R simply/elegantly, but my R - coding skills seem surpassed. This is the thing. Imagine the following data: labs<-c("abcdef","abcgg","tgthefdk","tgtijuel","tgtnjmoi","gbnt","dlift") dat<-c(0.5,0.25,1,2,16,0.250,4) dframe<-data.frame(labs,dat) I would like to
2010 Oct 31
6
Horrible btrfs performance due to fragmentation
On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton <calvin.walton@gmail.com> wrote: > On Mon, 2010-10-11 at 03:30 +0300, Felipe Contreras wrote: >> I use btrfs on most of my volumes on my laptop, and I''ve always felt >> booting was very slow, but definitely sure is slow, is starting up >> Google Chrome: >> >> encrypted ext4: ~20s >> btrfs: ~2:11s
2013 Mar 13
1
merging a dataframe or vectors
Hi, I would like to know what is the easiest way to compile two or more set of vectors or data frame, according to their index. They are interrelated to one another by their assigned index. for example: #data set 1 abc #output: X403 X408 X410 X415 X418 X419 X420 X423 X424 X425 X426 X427 549.58 541.91 544.18 549.37 555.54 540.83 543.26 544.26 546.85 548.98 553.10 556.49
2016 Mar 16
1
Rsync temporary file name
Hi list, I have some questions on how rsync names the temporary files it create during a file transfer. It is my understanding that temporary files are name .<filename>.ABCDEF, where "ABCDEF" is a random 6-chars alphanumeric string. First question: it is correct to say that the random aphanumeric string is _always_ 6 chars long? Second question: it is possibile to define a
2005 Feb 24
3
string concatenation operator
Why doesn't R have one, like "." in Perl or juxtaposition in awk? It does not seem impossible to introduce one, if that would be reasonable. It would seem to involve adding a table entry to main/names.c for the binary operator and a corresponding internal function, say do_dot(). This cannot be simply do_paste(), since the implied separator is "". So, do_dot() might be
2011 Nov 16
3
Interpolating hourly basis
I have a huge data set in the form of            V1           V2         V3   V4     V5  V6 1     201005010000201005010000 1.68291.38 1  0 2     201005010000201005010300 0.93335.10 1  0 3     201005010000201005010600 2.25 57.38 1  0 4     201005010000201005010900 0.43 13.76 1  0 5     201005010000201005011200 0.74101.14 1  0 I am interested in interpolating it on an hour basis(it's for avery
2013 Mar 16
1
Registering external program for a specific named pipe
Hi everyone, I wish to implement a service on top of an smb named pipe. I go over the samba code and I have seen how to implement the service directly into samba code like the rpc echo server. I wish to do it differently. Is there a way for an external software to register into samba such as all smb messages on \PIPE\ABCDEF (as an example) get transmit directly to it ? If yes, Is there any
2003 Jul 15
1
Alphanumerical digits
Sorry Martin to bother you again! I have an ISDN flux with 100 numbers. The local PSTN is sending now the DNIS/DID (so they said!!!) (I have set the immediate=no in zapata.conf) but I have the same problem as before : NOTE : the number is alphanumeric-DID alphanumeric (I will make tests with numeric mumber!). WARNING[9226]: File chan_zap.c, Line 5275 (pri_fixup): Call specified, but not
2012 Apr 10
7
How to remove $ (Dollar sign) from string
How do I remove a "$" character from a string sub() and gsub() with "$" or "\$" as pattern do not work. > sub("$","","ABC$DEF") [1] "ABC$DEF" > sub("\$","","ABC$DEF") Error: '\$' is an unrecognized escape in character string starting "\$" >
2007 Feb 12
1
bug in partial matching of attribute names
There looks to be a bug in do_attr() (src/main/attrib.c): incorrect partial matches of attribute names can be returned when there are an odd number of partial matches. E.g.: > x <- c(a=1,b=2) > attr(x, "abcdef") <- 99 > attr(x, "ab") [1] 99 > attr(x, "abc") <- 100 > attr(x, "ab") # correctly returns NULL because of ambig
2010 Apr 26
2
Finding First of a Type in a Sequence
Hi there, I am working on a project that requires me to find the point at which values become negative in a sequence about the max. For example, say I have some sequence: x=c(-12, -2,-19, 0, -14, -2, 9,10,20,35,56,89,60,39,12,8,-5,-2,0,10) In this sequence, the max is 89, and I need to identify that -2 and -5 are the points at which the values* first *become negative about the max and retrieve
1998 Nov 09
1
Need help with 'Cannot find setup.exe Windows needs this file
> I have a CD we (Candle) created. It installs one of our products by > executing the setup.exe program. I am able to execute the > program off the > CD with no problems. > > I then copied the contents of the CD to the Samba share. I > try and execute > the setup.exe file and get this error. > > If I then copy the files from the Samba share to /temp, I can >
2006 Mar 13
3
Strange SSH login try.
Hello list. Today I saw something strange in logs one of my servers. Part of the /var/log/security: Mar 12 15:01:03 server sshd[28505]: Invalid user abc from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28503]: Invalid user ab from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28507]: Invalid user abcd from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28509]: Invalid user abcde from ::ffff:x.x.x.x Mar
2006 Sep 24
4
SWIG exceptions
I was trying to fix the problem with wxImage and the char */unsigned char * thing today and I was going to hand-write the functions to translate between the two. While doing so I decided I''d clean up the SWIG error message to make it more clear. Here''s an example SWIG-generated argument error: in method SetData'', argument 2 of type ''wxImage *''