Posts Tagged ‘StringUtil’

stringHasValue of StringUtil, makeMorning and makeNight of DateUtil on AS3Corelib 0.92.1 help us handle strings and dates

Symbols-Tips-256x256 November 15 2008,  AS3Corelib 0.92.1 be released, As3corelib provides more helpful methods to help us handle strings and dates with the newest 0.92.1. They are stringHasValue of StringUtil, makeMorning and makeNight of DateUtil.

Search-256x256 Demo | DownloadDownload Full Project

(more…)

as3corelib Tutorial:How to Use StringUtil Class in Flex

papa-smurf-256x256 StringUtil class contains static utility methods for manipulating Strings. It simplifies the way to handle string values to meet the faults of StringUtil defined in package mx.util. For example, I want to remove all the string “mx:” in the StringUtilDemo.mxml. Just call the method like StringUtil.remove(theContent,”mx:”). However, the method is intrinsic case sensitive. So if I call the method like StringUtil.remove(theContent,”MX:”), it doesn’t make sense. The same as the method “replace”.

Search-256x256 Demo | DownloadDownload Full Project

(more…)