home > 比較編 > Perl, PHP, Python, Ruby > files >

ForNext

Only Do What Only You Can Do

180. chomp

VBScript

JScript

Perl

chomp $line;

PHP

chop($line);

Python

line = line.rstrip('\r\n')

Ruby

line.chomp!

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system