Results for "String"

Wire posts

  • To count the number of matches in a string !!! $str = "one.two.three.four"; $n =()= $str =~ /\./gi; print $n; #Tipsoftheday #Perl

    3842 days ago

  • String algorithm problems to solve ... http://rosalind.info/problems/topics/string-algorithms/ #Algorithms #String

    3692 days ago

  • Join the result of ls -1 into one line and delimit it with comma : newStr=$(ls -m *.txt) or mystring=$(printf "%s," *) #Bash #Comma #String #List #ls

    3514 days ago

  • SAGE: String-overlap Assembly of GEnomes http://www.biomedcentral.com/1471-2105/15/302/abstract #Genome #SAGE #Assembly

    3482 days ago

  • Search and replace the string 'this' with the string 'that' in the file filename. perl -p -i -e 's/this/that/g' filename #Perl #Trick #PerlOneLiner #Tipsoftheday #Replace #FindandReplace

    3126 days ago

  • Print all text after a matching string perl -ne "print unless 1 .. m(String)" #Perl #OneLiner #String #Perl #Trick

    2938 days ago

  • Extract ten lines below matched string with grep: grep -A 10 "string" filename1 ; -B for above and -C for both #grep #Linux #Tricks #Lines #Matches

    2684 days ago

  • Run length coding https://www.rosettacode.org/wiki/Run-length_encoding#Perl #Perl #String

    2478 days ago

  • Append the string to fasta header. $ sed 's/>.*/&_Bacteria/' foo.in > out.fasta #Sed #Fasta #String #Append

    2476 days ago

  • https://www.r-bloggers.com/hacking-strings-with-stringi/amp/ #stringi #r #string

    2435 days ago