Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2005, 11:31 AM
Authorized User
 
Join Date: Jun 2003
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Split field at designated character but at " "

Hi All,

I am extracting an text field from my Access database which is 255 characters in length. I need to put this information within smaller fields of 45 characters. I need to split the field into an array with each part of the array being 45 characters. However what I don't want to do is split any of the words e.g. "techn" CR "ology". In other words I need the length of the array variables to be 45 characters or less and split within the spaces " ".

Any ideas?
I am not sure how to combine the Left command and the split command to accomplish what I need.

Any help with this issue would be greatly received.
Many thanks,

Paul





Similar Threads
Thread Thread Starter Forum Replies Last Post
character entity into numeric character entity srkumar XSLT 1 November 22nd, 2007 04:53 AM
Concat autonumber field with a constant character sathija Access 5 July 6th, 2007 07:25 AM
How to split a field into two fields fdtoo SQL Server 2000 0 April 11th, 2006 08:41 PM
split() darkhalf Javascript 1 October 21st, 2005 11:34 AM
split crmpicco Classic ASP Basics 2 February 14th, 2005 08:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.