Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
etl.text utility methods to format strings#7048/v2
more
Tags:  not added yet

etl.text utility methods to format strings[TSK-7048]

Tracker: Tasks Priority: NormalNormal Owner: --
Assigned to: -- Submitted by: ejboy Mar 03, 2008 19:48 Status: Closed
Start Date: -- End Date: -- Estimated Hours: --
Spent Effort: -- % Spent / Plan: -- Category: --
Severity: --
Relations
Loading...
Description
We need to add several utility methods to global etl variable:
  • nullSafeFormat(String)
  • trim()
  • replace(String, regex, replacement)

The most typical usage scenario is to format nulls as empty string. Example:

INSERT INTO Table VALUES (?{etl.text.trim(variable});
Details
Comments & Attachments (0)
Associations (0)
Children (0)
References (0)
SCM Commits (2)
All (2)

Type Submitted Comment
ejboy
Mar 04, 2008 07:05
etl.text utility methods to format strings
(Revision 506; 1 changes)
ejboy
Mar 04, 2008 06:57
etl.text utility methods to format strings
(Revision 505; 8 changes)