Timeline for Conversion from object to string in Google Apps Script
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 9, 2015 at 13:52 | comment | added | FFDP-FTW | Okay i found root of my problem there were some issues with the form that is linked to the spreadsheet, I got it working now thanks. The substring() method works. | |
Feb 9, 2015 at 13:17 | vote | accept | FFDP-FTW | ||
Feb 9, 2015 at 13:16 | comment | added | FFDP-FTW | Yes I have done this already and still doesn't seem to work... but I'm starting to thing there is a logic error somewhere else so I'm going to run through the code again to check... | |
Feb 9, 2015 at 12:39 | comment | added | Vidar S. Ramdal |
You can make it a string, as with row[5] + "" . Then you're free to extract substrings from it. See the update to my answer.
|
|
Feb 9, 2015 at 12:30 | comment | added | FFDP-FTW | Yea i realised recently... haha. So there is no way to use string handling from the info i get from a spread sheet? | |
Feb 9, 2015 at 10:53 | history | edited | Vidar S. Ramdal | CC BY-SA 3.0 |
Added substring option
|
Feb 9, 2015 at 10:48 | comment | added | Vidar S. Ramdal |
You say you're trying to call editAsText , but as far as I can see, that method is only available in Google Documents - not Spreadsheets.
|
|
Feb 9, 2015 at 10:30 | comment | added | FFDP-FTW | I can try that, thanks but my question still remains... can I not accomplish this in terms of string handling? | |
Feb 9, 2015 at 10:21 | history | answered | Vidar S. Ramdal | CC BY-SA 3.0 |