4 lines
87 B
Text
4 lines
87 B
Text
var str = "I am a string";
|
|
if (str =~ /string$/) {
|
|
print "Ends with 'string'\n";
|
|
}
|