Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

gsub in Ruby

gsub(pattern[, replace])
gsub!(pattern[, replace])

Searches a string held in the variable $_ for a pattern, and if found, replaces all the occurrence of the pattern with the replace and returns the replaced string. gsub! modifies the original string in place, gsub makes copy, and keeps the original unchanged.
Add by Pancho
You can edit it here
Adding comments is available only for registered users.

Reporters Invited to NSF's Celebration of Five Leading Science and Technology Centers

Photo of two undergrads participate in an STC summer research program.

On Friday, Feb. 5, from 8:30 a.m. to 12:30 p.m., EST, the National Science Foundation (NSF) will celebrate the achievements of five Science and Technology Centers (STC) that have been conducting world-class research and education programs since 2000 in various disciplines with NSF funding. Each STC received a total of $38 million under its own cooperative agreement with NSF that concluded in 2010.

The NSF celebration will honor these five STCs:

  1. ...
More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=116332&WT.mc_id=USNSF_51


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.