Counting the number of lines in a String

I was wondering if there was a way to count the number of lines in a string. Example…

 
var blah:String = String("Blah 
 Blah
 Blah!")

I was wondering if there was a tokenizer or a method of counting the
or maybe something like the .length property. Thanks for the help everyone!