Return-Path: X-Original-To: apmail-devicemap-commits-archive@www.apache.org Delivered-To: apmail-devicemap-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90F9B1021D for ; Wed, 14 Jan 2015 13:25:30 +0000 (UTC) Received: (qmail 81698 invoked by uid 500); 14 Jan 2015 13:25:32 -0000 Delivered-To: apmail-devicemap-commits-archive@devicemap.apache.org Received: (qmail 81674 invoked by uid 500); 14 Jan 2015 13:25:32 -0000 Mailing-List: contact commits-help@devicemap.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@devicemap.apache.org Delivered-To: mailing list commits@devicemap.apache.org Received: (qmail 81655 invoked by uid 500); 14 Jan 2015 13:25:32 -0000 Delivered-To: apmail-incubator-devicemap-commits@incubator.apache.org Received: (qmail 81648 invoked by uid 99); 14 Jan 2015 13:25:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 13:25:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 13:25:10 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id B8EF3190 for ; Wed, 14 Jan 2015 13:24:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 14 Jan 2015 13:24:38 -0000 Message-ID: <20150114132438.3634.35780@eos.apache.org> Subject: =?utf-8?q?=5BDevicemap_Wiki=5D_Update_of_=22DataSpec2=22_by_rezan?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for= change notification. The "DataSpec2" page has been changed by rezan: https://wiki.apache.org/devicemap/DataSpec2?action=3Ddiff&rev1=3D31&rev2=3D= 32 = =3D Transformers =3D = - Transformers take in an input string, apply an action, and then return a = string. + Transformers accept a string string, apply an action, and then return a s= tring. If multiple transformers are defined in a set, the outputs and inputs are chained together. Transformers are used in the input parsing phase and the attribute retrie= val phase. @@ -293, +293 @@ :: Description: converts the input to all uppercase :: Return: the input in uppercase = - Replace:: + ReplaceFirst:: :: Description: replace the first occurrence of a string with another st= ring :: Parameter - find: the substring to replace :: Parameter - replaceWith: the string to replace 'find' with @@ -304, +304 @@ :: Parameter - find: the substring to replace :: Parameter - replaceWith: the string to replace 'find' with :: Return: the string with the replacements made + = + Substring:: + :: Description: return a substring of the input + :: Parameter - start: the starting index, 0 based + :: Parameter - maxLength: optional. If defined, the maximum amount of ch= aracters to return. + :: Return: the specified substring + :: Error: if start is out of bounds = SplitAndGet:: :: Description: split the input and return a part of the split