Amazon.de Widgets
  • Evil
  • How to find a two-letter word?
  101
Oopsy Oops von , vor 12 Jahren
How to find a two-letter word?

The answer is Using Regular Expressions. For example in ActionScript 3.0 it would be: var pattern:RegExp = /\b(.)(.)\b/g; var target:String = "God should have put womens eyeballs in their boobs"; trace("RESULT", target.match(pattern)); // RESULT in In RegExp: \b - word boundaries . - any character Target string by www.bash.org/?49429


Exey Panteleev | CC BY 2.0