Doom is a series of first-person shootervideo games developed by id Software. The series focuses on the exploits of an unnamed space marine operating under the auspices of Union Aerospace Corporation (UAC), who fights hordes of demons and the undead in order to survive.
Doom is considered to be one of the pioneering first-person shooter games, introducing to IBM-compatible computers features such as 3D graphics, third dimension spatiality, networked multiplayer gameplay, and support for player-created modifications with the Doom WAD format. Since the release of Doom in 1993, the series has spawned numerous sequels, expansion packs, and a film.
Since its debut, over 10 million copies of games in the Doom series have been sold.
The characters which are considered whitespace varies between programming languages and implementations. For example, C traditionally only counts space, tab, line feed, and carriage return characters, while languages which support Unicode typically include all Unicode space characters. Some implementations also include ASCII control codes (non-printing characters) along with whitespace characters.
Java's trim method considers ASCII spaces and control codes as whitespace, contrasting with the Java isWhitespace() method, which recognizes all Unicode space characters.
Delphi's Trim function considers characters U+0000 (NULL) through U+0020 (SPACE) to be whitespace.
Following are examples of trimming a string using several programming languages. All of the implementations shown return a new string and do not alter the original variable.