cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Perl
public
grtodd
2017-02-27T16:35:00Z
use 5.24.0; my $string = "Hello World!\n"; say $string ; say substr $string, index ($string, "o")+1, 5 ;