GNU Smalltalk Library Reference: CharacterArray-basic

Next: , Previous: , Up: CharacterArray [Index]


1.29.3 CharacterArray: basic

valueAt: anIndex ifAbsent: aBlock

Answer the ascii value of the anIndex-th character of the receiver, or evaluate aBlock and answer the result if the index is out of range.

AltStyle によって変換されたページ (->オリジナル) /