Chars

org.beangle.commons.lang.Chars
object Chars

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Chars.type

Members list

Value members

Concrete methods

def charLength(str: String): Int
def isAsciiAlpha(ch: Char): Boolean

Checks whether the character is ASCII 7 bit alphabetic.

Checks whether the character is ASCII 7 bit alphabetic.

isAsciiAlpha('a')  = true
isAsciiAlpha('A')  = true
isAsciiAlpha('3')  = false
isAsciiAlpha('-')  = false
isAsciiAlpha('\n') = false
isAsciiAlpha('©') = false

Value parameters

ch

the character to check

Attributes

Returns

true if between 65 and 90 or 97 and 122 inclusive

Since

3.0

def isNumber(char: Char): Boolean