w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

WMLScript String Library

« Previous Next Chapter »

The String library contains functions for manipulating text.


WMLScript String Library Functions

Function Description
charAt() Returns the character at a specified position
compare() Compares two strings and returns a value that represents the result of the comparison
elementAt() Divides a string into elements and returns a specified element
elements() Returns the number of times a specified value appears in a string
find() Returns the position of a substring in a string
format() Formats a value
insertAt() Divides a string into elements and inserts a substring at a specified index position
isEmpty() Checks whether a string is empty
length() Returns the length of a string
removeAt() Divides a string into elements and removes a specified element
replace() Replaces a part of a string with a new string
replaceAt() Divides a string into elements and replaces a specified element
squeeze() Reduces all multiple spaces to single spaces in a string
subString() Returns a specified part of a string
toString() Converts a value to a string
trim() Returns a string without leading and trailing spaces

« Previous Next Chapter »




W3Schools Certification

W3Schools' Online Certification Program

The perfect solution for professionals who need to balance work, family, and career building.

More than 4000 certificates already issued!

The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The ASP Certificate documents your knowledge of ASP, SQL, and ADO.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display