Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Space beween letters
Message
From
22/06/2001 10:24:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00522433
Message ID:
00522447
Views:
8
? FillSpaces("Greetings from Bolivia")

function FillSpaces(tcText)
local lnCounter, lcResult
lcResult = ""
for lnCounter = 1 to len(tcText)
	lcResult = lcResult + substr(tcText, lnCounter, 1) + "."
next
return lcResult
>I have a special form to be filled
>where there a blanks and there are spaces
>between blanks.
> Each blank has space for one letter.
>
> How can I space betten letters
>
> I am using @say command.
>
> How can I transform a word as below:
>
> "special"
>
>to
>
> "s.p.e.c.i.a.l"
>
>Thanks
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform