Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 3.5

COLUMN

String Theory

Working with strings

Issue: 3.5 (May/June 2005)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 18,465
Starting Page Number: 30
Article Number: 3512
Resource File(s):

Download Icon 3512.zip Updated: 2013-03-11 19:07:58

Related Web Link(s):

http://www.rbdeveloper.com/browse/1.1/1005/

Excerpt of article text...

Perhaps it's because I'm a writer and fascinated by text, but strings have always been my favorite data structure. Unlike more abstract data structures like arrays or classes, strings usually contain human-understandable data. They don't have to, of course -- you can store any kind of data you'd like in a string (even a picture) -- but for the most part, strings contain text you want to manipulate. That makes strings a little easier for the beginner to get a handle on. However, strings are so basic that they are rarely discussed. Often, the beginner is afraid to ask obvious questions and thus stumbles blindly. So here's a little refresher course in string manipulation.

The Basics

REALbasic provides many powerful string routines. Most are similar to those in other languages and their functions are fairly evident. For example, the len function returns the number of characters in a string.

...End of Excerpt. Please purchase the magazine to read the full article.