![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, Using FMPro 6.04/Mac OS X, I'm trying to replace some chars like TAB (\x09) or anything I can't type. Using the (french name of function) REMPLACE2("StringToChange"; "ReplaceBy"; "LookFor"), how can I type something like : REMPLACE2("MyString"; "ascii code of tab"; "Tabulation here") TIA -- JJBee Président à vie du G.R.O.I.N. Secrétaire général : AluBook |
#3
| |||
| |||
|
|
Hi all, Using FMPro 6.04/Mac OS X, I'm trying to replace some chars like TAB (\x09) or anything I can't type. Using the (french name of function) REMPLACE2("StringToChange"; "ReplaceBy"; "LookFor"), how can I type something like : REMPLACE2("MyString"; "ascii code of tab"; "Tabulation here") TIA |
#4
| |||
| |||
|
|
A way to solve the problem is to create a special global field and to paste into it a special character written into a Word document and use "Substitute" (this is the term for "Remplace2"). Better you may have a special Param.fp5 file with only one record and make a normal field into which you'll pour the Word special character.Then with a Constant = 1 relationship any other file of the solution will be able to access it. Remi-Noel "Jean-Jacques Boutaud" <jjboutaud (AT) free (DOT) fr> a écrit dans le message de news: 1h0yvsg.ycgvt2q0rskoN%jjboutaud (AT) free (DOT) fr... Hi all, Using FMPro 6.04/Mac OS X, I'm trying to replace some chars like TAB (\x09) or anything I can't type. Using the (french name of function) REMPLACE2("StringToChange"; "ReplaceBy"; "LookFor"), how can I type something like : REMPLACE2("MyString"; "ascii code of tab"; "Tabulation here") TIA -- JJBee Président à vie du G.R.O.I.N. Secrétaire général : AluBook |
#5
| |||
| |||
|
|
In article <1h0yvsg.ycgvt2q0rskoN%jjboutaud (AT) free (DOT) fr>, jjboutaud (AT) free (DOT) fr (Jean-Jacques Boutaud) wrote: Hi all, Using FMPro 6.04/Mac OS X, I'm trying to replace some chars like TAB (\x09) or anything I can't type. Using the (french name of function) REMPLACE2("StringToChange"; "ReplaceBy"; "LookFor"), how can I type something like : REMPLACE2("MyString"; "ascii code of tab"; "Tabulation here") TIA There's two ways to replace characters that can't be typed easily. A. Before using the Remplace command, type the character into a normal Text field, then select and Copy it. Then go to the Remplace command and Paste the character in the appropriate place. B. Create a new Global field (eg. g_Tab) and temporarily put it on a layout so you can type in the character. Then use that Global field wherever you need that character. ie. Remaplce ("StringToChange", "g_Tab", "ASCIICode") Note: I think you've got your "LookFor" and "ReplaceBy" around the wrong way. The English version of the command is Substitute (text, search string, replace string) Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
![]() |
| Thread Tools | |
| Display Modes | |
| |